Log in

View Full Version : Toggle images in navbar


MrWee
03-25-2004, 08:58 PM
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
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
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.