Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
AJAX Invisible Mode Switch Details »»
AJAX Invisible Mode Switch
Version: 1.0.2, by uae uae is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: End-User Options - Version: 3.7.x Rating:
Released: 01-13-2008 Last Update: 05-15-2008 Installs: 93
Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

AJAX Invisible Mode Switch

Quick change invisible/visible status anywahere in your forum with one click!

--------------------------------
| New Files: (2 images)
| New Templates: 0
| New Phrases: 1
| Table to Alter: 0
| File Edits: 0
| Template Edits: 1
| Queries: 0
--------------------------------

New Installation
****************************
** Unzip the files to a directory on your computer.
Step 1. Upload "invisible.gif" & "visible.gif" to YOURFORUMS/IMAGES/statusicon directory.
Step 2. Import Product.
Step 3. Do the Template Edit: // Skip if you got Template-Modifications System installed.

Upgrade from 3.6
****************************
If you upgraded your forum with the 3.6 version installed, reimport the product and redo the template edit.


Instructions For Use with vBa CMPS:
  • Go to your admincp, vBa CMPS -> Default Settings -> Portal Output Global Variables (it should be under the Options).
  • Add the following:
showinvisiblemode

invisiblemode
  • Save & Enjoy!
Version History:
1.0.0
- Initial Release for vB 3.6.x
1.0.1
- First version for vB 3.7.x
1.0.2
- Template Edit Fixed
-- To upgrade, just redo the template edit.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
caoducanh9x

Comments
  #32  
Old 05-16-2008, 12:50 PM
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 />
Reply With Quote
  #33  
Old 05-16-2008, 01:51 PM
Conner85 Conner85 is offline
 
Join Date: Jan 2008
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What following code?
Reply With Quote
  #34  
Old 05-16-2008, 02:24 PM
Thanatos Thanatos is offline
 
Join Date: Dec 2001
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ideal Web Tech View Post
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.
Reply With Quote
  #35  
Old 05-16-2008, 07:13 PM
uae's Avatar
uae uae is offline
 
Join Date: Jul 2002
Location: Irvine, California
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry guys, been away...
The template edit has been fixed, to upgrade, redo the template edit from the text file.
Reply With Quote
  #36  
Old 05-16-2008, 07:37 PM
Behzad Varedi Behzad Varedi is offline
 
Join Date: Nov 2007
Location: Iran, Mashhad
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I have same problem after edit the template and when I click , nothing happens
Reply With Quote
  #37  
Old 05-17-2008, 02:16 AM
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There posted the proper code that I forgot earlier on accident.
Reply With Quote
  #38  
Old 05-17-2008, 09:59 PM
Conner85 Conner85 is offline
 
Join Date: Jan 2008
Posts: 129
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #39  
Old 05-18-2008, 01:14 AM
SuperTaz's Avatar
SuperTaz SuperTaz is offline
 
Join Date: Apr 2007
Location: Pennsylvania
Posts: 744
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

works great. thanks
Reply With Quote
  #40  
Old 06-01-2008, 02:59 AM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought the template edit was suppose to be automatic? Not the case here.
Reply With Quote
  #41  
Old 06-17-2008, 01:44 PM
Julrou Julrou is offline
 
Join Date: Jul 2007
Location: France
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, very useful. :up:

[high]* Julrou clicked install
[/high]
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:29 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.21739 seconds
  • Memory Usage 2,305KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete