vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Custom Forum Status Icons (https://vborg.vbsupport.ru/showthread.php?t=102025)

Chris M 11-30-2005 10:00 PM

Custom Forum Status Icons
 
[high]Installation Instructions[/high]

Step 1: Upload the .xml file to the Product Manager
Step 2: Read the install.txt file for template edit instructions
Step 3: Click [high]INSTALL[/high]:D

Requested by: nonamer69

[high]What does this Plugin do?[/high]

Basically, this will allow you to have Custom Forum Status Icons for each forum - To have one image constantly displayed simply edit the options for each image replacement to the same image :devious:

[high]Are there any screenshots?[/high]

See post below :)

[high]Version History:[/high]

1.0.0: First release

[high]Forums arranged in columns on forumhome (by Xenon):[/high]
See here for the function and template change you need to make (Thanks to Danny.vBT for this)
[high]Please Note:[/high] This modification is only required if you wish to use Custom Status Icons in conjunction with Xenon's hack...

Chris

Chris M 12-01-2005 06:09 PM

Screenshots

See attached :)

Chris

klaush 12-01-2005 06:29 PM

I´ll give it a try!

Thanks!

Chris M 12-01-2005 06:31 PM

Hope it does what you're looking for - I tested it thoroughly but it's possible a bug or two skipped through the cracks :)

By the way - The Forum Manager screenshot shows images named "custom_new.gif" etc - You can name it whatever you like, I just named it "custom_new.gif" for my own ease :)

For example, "bananahammock.gif" is equally valid an image name :D

Chris

icemann 12-01-2005 06:34 PM

Thanks Chris, I'll give this a shot and post back.


btw: bananahammock.gif .......... I like that. LOL :)

nonamer69 12-01-2005 06:46 PM

Thanks Chris for coming through with this mod. ;)

AshokForums.com 12-01-2005 06:51 PM

that was quick work Chirs.. Thanks.. Installed..

Snake 12-01-2005 06:57 PM

Awesome! Definitely going to install this.

colicab-d 12-01-2005 07:06 PM

Nice one will be using for AO5 :) Chris

icemann 12-01-2005 07:08 PM

Dang, this was EASY.....QUICK.....and "INSTALLED". ;)

Guest190829 12-01-2005 07:20 PM

I used template conditionals to get this affect, this is much easier. Will install!

/me clicks install...

shovel 12-01-2005 07:43 PM

Quote:

Originally Posted by Chris M
Hope it does what you're looking for - I tested it thoroughly but it's possible a bug or two skipped through the cracks :)

By the way - The Forum Manager screenshot shows images named "custom_new.gif" etc - You can name it whatever you like, I just named it "custom_new.gif" for my own ease :)

For example, "bananahammock.gif" is equally valid an image name :D

Chris

@ Chris: I think this might make vB3.6 ;) Good work.

Ps.
Developer's Make A Note
Chris rocks! Better acknowledge him when you add this functionality (that should have already been there). :D

[high]* shovel clicks Install.[/high]

Chris M 12-01-2005 07:46 PM

Thanks guys! :)

I just tested it on a fresh 3.5.1 and it didn't install with any problems, so I hope it remains that way :)

Chris

The Wise One 12-01-2005 09:30 PM

very nice. i, like Danny, used template conditionals to make this happen. installed.

i modified the template code slightly so i could apply different images based on a chosen style. i have multiple styles that use the same image...but different background colors based on the colors of the style chosen.

this is what i did:

changed
Code:

<img src="<if condition="$show['customstatusicon']">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" />
to
Code:

<img src="<if condition="$show['customstatusicon']">$stylevar[imgdir_statusicon]/forum/$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" />
then created a directory in "images/statusicon" called "forum" for each statusicon directory i specified in the style options (under image paths) and placed my images there. then, for each forum, in the options, i just specified the file name.

i hope you dont mind me posting this in this thread.

Cedric_FP 12-01-2005 11:31 PM

Wow, excellent mod. I needed this!

Zachariah 12-01-2005 11:50 PM

Thanks Sir.

/me installs

PennylessZ28 12-01-2005 11:55 PM

Excellent work!-

FleaBag 12-02-2005 12:32 AM

I hadn't realised before it was made - but this will really come in handy! :)

Cedric_FP 12-02-2005 03:08 AM

Wow, check it out: It's so colourful now!

Ramsesx 12-02-2005 03:16 AM

Cool idea, I'll give it a try but first need to make some images
@cedric
looks nice, can you give me a hint where I can get this images you used?
thanks

trancetopia 12-02-2005 04:45 AM

Just what i've been looking for. Thanks Chris.

Lottis 12-02-2005 07:12 AM

Nice. Thank you Chris. *installs*

Sychev_S 12-02-2005 03:06 PM

can a picture be changed if no new posts were made since the last visit?

Chris M 12-02-2005 04:22 PM

Quote:

Originally Posted by Sychev_S
can a picture be changed if no new posts were made since the last visit?

This plugin allows you the ability to assign images for each status of a forum - No new posts since your last visit would be another image you assign to the forum in the "No New Posts" replacement image setting :)

I recommend finding an image you like for the "New" image, then altering it with something like photoshop, and change the opacity to maybe 50 or 60%, as a "No New Posts" image :)

Chris

King Kovifor 12-04-2005 11:00 PM

Nice Hack Chris!!!! Really useful!

Gehanna 12-06-2005 09:14 PM

Thank You :classic:

Gehanna

Allan 12-09-2005 09:34 PM

Thanks for this hack Chris :)

Click Install


File Attach: French Language :)

lanc3lot 12-10-2005 03:36 AM

A question. This icons, will be applied even if the forum is a subforum ? (and i mean the icons will be showed in the lvl 2 view)

I also used conditionals, but its seems no more:D

Thnx Paul:)

PS

I found a major flaw in the whole system that made me uninstall it just for now. The flaw is:

If you use different styles in your forum, and therefore u need to have different icons to them, so they can "apply" better on the skin, this hack cant applied as it uses only one of them. Can we fix this, so we can "choose" in what style each one will work?
(with my conditionals i can, but its a pain on the ass to always change the codes so this hack will come very handy:))
Hope u can add a feature like this paul, thnx for any possible reply :)

michaelbenson 12-10-2005 09:07 AM

Thanks for this, it could work quite well to give particular forums added appeal. :)

Chris M 12-10-2005 01:14 PM

https://vborg.vbsupport.ru/showpost....8&postcount=14

That would be a way to accomplish multi-style custom status icons :)

Chris

ShadowOne 12-12-2005 03:04 PM

how do i make it with no images? cuz i have forums arranged in columns on 3.5.1 and i want to make it where it doesnt show an image...

lazyseller 12-12-2005 03:46 PM

upload a transparant gif...

teedizz 12-15-2005 07:29 AM

Can someone please explain to me how to get this to work with this particular hack :

https://vborg.vbsupport.ru/showthread.php?t=99829

This works absolutely fine with other forums as you can see in the picture I have added but I have the same exact picture pointed at the " West Coast " forum icon also but it doesnt show up. Pretty wierd to since those are not sub forums, just a different layout basically

http://img233.imageshack.us/img233/6223/untitled3qj.jpg

Chris M 12-15-2005 09:43 AM

You may have to edit the templates specific to that hack which include statusicon images :)

Chris

teedizz 12-15-2005 03:51 PM

How do I go about doing that Chris? Im new at all this bro & need a little help.

Chris M 12-15-2005 05:17 PM

Edit [high]forumhome_forumbit_columncell[/high]
Change:
Code:

<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
to
Code:

<img src="<if condition="$show['customstatusicon']">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" />
That should change it for you :)

Chris

teedizz 12-15-2005 07:24 PM

Thx Chris but its still a no go. Its wierd because if i make the forum column 1 to where it looks like a regular forum, then everything works fine but as soon as I change the forum column to 3 then it wont show. I have edited the forumhome_forumbit_columncell, forumhome_forumbit_level2_post, forumhome_forumbit_level1_post & I even edited the plug in. I am completely out of ways to try to get this to work. Once i'm done with this then I should be good to go. Ive went thru all of those files that I mentioned above & changed

Code:

<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
to

Code:

<img src="<if condition="$show['customstatusicon']">$stylevar[imgdir_statusicon]/forum/$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0
I used that code since I have a couple different styles

Can you think of anything else that I may have to edit to get this to work bro?

Chris M 12-15-2005 08:03 PM

You may need to edit Stefan's code to include a call, check and condition for custom status icons...

I'll take a look at it tomorrow when I get back from University and see if I can alter it for you...

Chris

teedizz 12-15-2005 08:14 PM

ok...sounds good. Thanks alot.

teedizz 12-16-2005 03:41 PM

Hey Chris, any word on looking over it for me bro?


All times are GMT. The time now is 06:38 AM.

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.01357 seconds
  • Memory Usage 1,810KB
  • 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
  • (6)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
  • (40)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