vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Miscellaneous Hacks - Add [Invite Friends] Link To Header (https://vborg.vbsupport.ru/showthread.php?t=254436)

LOGECT 11-29-2010 10:00 PM

Add [Invite Friends] Link To Header
 
1 Attachment(s)
Info:

A simple way to add a Invite Friends link to the header template ( shows only to members )


https://vborg.vbsupport.ru/attachmen...1&d=1291078427


Notes:
First you will need to install VSa - Advanced Registration

https://vborg.vbsupport.ru/attachmen...9&d=1266417827

Installation:

1-In the header template search for :

Code:

<li><a href="usercp.php{vb:raw session.sessionurl_q}">{vb:rawphrase control_panel}</a></li>
Add the following code before that:

Code:

<li><a href="misc.php?do=vsaareginv{vb:raw session.sessionurl_q}">{vb:rawphrase vsaareg_invitation_invite}</a></li>
You are done :D

Leica.Robbiani 11-30-2010 08:07 PM

Hi there,

fine, but how do I delete the link in the navbar? Thanks for your help.

Best regards

L.R.

Gemma 11-30-2010 09:02 PM

Quote:

Originally Posted by Leica.Robbiani (Post 2127680)
Hi there,

fine, but how do I delete the link in the navbar? Thanks for your help.

Best regards

L.R.

AdminCP > Settings > Options > VSa - Advanced Registration

Put automatically "Invite" to forum navbar - select 'No'

Leica.Robbiani 12-01-2010 03:26 PM

Hey man,

thank you. Don't know why I didn't see that ...

Best regards

L.R.

smelly 12-05-2010 08:21 AM

works fine thanks

Palehorse74480 01-17-2011 03:17 PM

hmm did not work for me..

sivaganeshk 01-23-2011 11:17 AM

Thanks ... worked :)

Rofo 03-07-2011 06:10 PM

For some reason the "Invite friends" takes me to my FAQ>smilie list.

Any idea on what I screwed up?

4.1.1

ProFifaLeagues 03-07-2011 07:07 PM

I get this error any ideas where i may be going wrong ??
The email was my own so i know its correct..


Error: e-mail address(es) incorrect: function () { for (var i = 1; i < this.length; i++) { if (this[i][0] == this[i - 1][0]) { this.splice(i, 1); } } }; function () { for (var i = 0; i <= this.length; i++) { this.shift(); } }

rilwan 03-08-2011 01:16 AM

Quote:

Originally Posted by Rofo (Post 2170633)
For some reason the "Invite friends" takes me to my FAQ>smilie list.

Any idea on what I screwed up?

4.1.1

Same here,

4.1.2

Please help


All times are GMT. The time now is 09:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02949 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete