vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Toggle images in navbar (https://vborg.vbsupport.ru/showthread.php?t=62947)

MrWee 03-25-2004 08:58 PM

Toggle images in navbar
 
I have a user would would like to have a link on the navbar that, when clicked, toggled the showimges option on or off.

i searched and couldn't find anything, and even tried to figgure it out myself but failed :(

any help would be much appreciated

Gary King 03-26-2004 01:57 AM

You mean to have a link, where when you click on it, then images using the [img] tag would not show the image but just the link instead? And when toggled again, then it will show the image? (Only works if the forum has [img] tags enabled?)

MrWee 03-26-2004 03:19 AM

1 Attachment(s)
well, [img] and attachments.

it just toggles this setting in the CP:

Gary King 03-26-2004 10:53 PM

okay I'll see what I can do

MrWee 03-27-2004 12:16 AM

thanks man, you rock :)

Gary King 03-30-2004 09:46 PM

Sorry I've decided I don't have time for this, maybe someone else could give it a go? :)

MrWee 04-01-2004 05:30 AM

I just realized that this would work the same way the "install" buttons work here on the hacks.

maybe someone could modify that code for what I need?? :cool:

MrWee 04-23-2004 01:42 AM

perhaps someone could give it a try now?

Gary King 04-23-2004 02:36 AM

Quote:

Originally Posted by MrWee
I just realized that this would work the same way the "install" buttons work here on the hacks.

maybe someone could modify that code for what I need?? :cool:

The problem that I encounter when writing this hack is the 'taking apart' and 'putting back together' of the options, if you will. The options of each user is input as a bit string into the database now, so it gets harder to modify the options. That's also probably why no one has given this a go yet, although I'm sure someone will come along.


All times are GMT. The time now is 05:20 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.01974 seconds
  • Memory Usage 1,718KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete