vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   End-User Options - AJAX Invisible Mode Switch (https://vborg.vbsupport.ru/showthread.php?t=167691)

Ideal Web Tech 05-16-2008 12:50 PM

Use the following code for the navbar template edit instead of the one he provided. He renamed his handler and ajax call functions but didnt update the instructions for the template edit to reflect it.

Oops forgot to paste the code

Code:

<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong>&nbsp;<if condition="$showinvisiblemode"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/<if condition="!$invisiblemode">in</if>visible.gif" alt="$vbphrase[ajax_invisible_mode]" onclick="requestSwitchData('index.php?{$session[sessionurl]}do=doinvisiblemode&amp;userid={$invisiblemodeuser}','parseSwitch',this)" /></if><br />

Conner85 05-16-2008 01:51 PM

What following code?

Thanatos 05-16-2008 02:24 PM

Quote:

Originally Posted by Ideal Web Tech (Post 1521555)
Use the following code for the navbar template edit instead of the one he provided. He renamed his handler and ajax call functions but didnt update the instructions for the template edit to reflect it.

Let me echo that...what following code lol.

uae 05-16-2008 07:13 PM

Sorry guys, been away...
The template edit has been fixed, to upgrade, redo the template edit from the text file.

Behzad Varedi 05-16-2008 07:37 PM

Hi,

I have same problem after edit the template and when I click , nothing happens :D

Ideal Web Tech 05-17-2008 02:16 AM

There posted the proper code that I forgot earlier on accident.

Conner85 05-17-2008 09:59 PM

Hahahaha.. it's cool man. By the way, nice mod uae. I'm sure everyone understands that it's hard to keep up with stuff from time to time. Keep up the good work. You too IWT.

SuperTaz 05-18-2008 01:14 AM

works great. thanks

RaceJunkie 06-01-2008 02:59 AM

I thought the template edit was suppose to be automatic? Not the case here.

Julrou 06-17-2008 01:44 PM

Great mod, very useful. :up:

[high]* Julrou clicked install
[/high]
:p


All times are GMT. The time now is 05:50 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.01059 seconds
  • Memory Usage 1,730KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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