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)

ohgenki 09-20-2006 07:24 AM

what if we just want one particular image for one particular forum? how do we do that?

I-Web 09-27-2006 09:58 PM

I installed another version of this mod for 3.6.1 but it lacked a few features that i needed so tried this one on a test forum and it worked a treat this is ezactly what i was looking for.

Ta Muchly

kylek 10-06-2006 10:47 PM

Installed this on 3.6.1 and it works great but one thing we have noticed is that the option to double click the icon to have posts marked read doesn't work with this. Anyone have that feature working with this?

red-dna 10-08-2006 09:49 PM

if you edit the
Code:

alt="" border="0" /></td>
to
Code:

alt="" border="0"  id="forum_statusicon_$forum[forumid]" /></td>
the option to double click the icon to have posts marked read does work with the normal icons, but not with the custom icons.
i think you must edit also the clientscript/vbulletin_read_marker.js

Any ideas ?

Greek Wizard 10-30-2006 05:10 AM

Quote:

Originally Posted by red-dna
if you edit the
Code:

alt="" border="0" /></td>
to
Code:

alt="" border="0"  id="forum_statusicon_$forum[forumid]" /></td>
the option to double click the icon to have posts marked read does work with the normal icons, but not with the custom icons.
i think you must edit also the clientscript/vbulletin_read_marker.js

Any ideas ?

I would like to know this too.

Anyone help us out?

carlosacgj 11-02-2006 02:35 PM

hello

anyone can help me with any hack work of this...
https://vborg.vbsupport.ru/showthread.php?t=88330

Conspiracy 12-07-2006 07:26 PM

Will this work on 3.6.4?

jyajay 12-22-2006 01:23 PM

It is working with 3.6.3, I am pretty sure it will work with 3.6.4 ;)

Why don't you guys just try it out instead of asking every time?

MK3Design 01-14-2007 12:46 AM

how do I get to this page https://vborg.vbsupport.ru/attachmen...4&d=1133467855

Datenpapst 01-20-2007 03:27 PM

found it works great ;)

pollon 02-13-2007 09:48 PM

i've just installed it. it works great with 3.6.4

BigJimTheLug 02-14-2007 03:13 PM

I have installed this on 3.6.4 but the product does not show up on my options menu in the admincp.

However, the product is on the list when I click on the manage product tab.

Is there an update for 3.6.4?

Smoothie 02-14-2007 03:24 PM

To the dude above, I believe it's done in the forum manager.

Tim_GPN 06-16-2007 01:46 AM

Ive tried this plugin on 3.6.4, configured and all, and doesnt work. I used this one an old board of mine 3.5 and worked fine, so im assuming ive configured it properly.

Is there an update for 3.6.4 Chris?

avitor 06-26-2007 10:55 AM

where is Product Manager directory?

where i need to upload the xml file?

Reiji Kurosaky 07-09-2007 03:45 PM

I've installed this with 3.6.7 PL1 an it works like a charm.

Really a nice hack.

Ultima07 07-26-2007 02:01 PM

There's some flaws with this, even though it works. The icon wont change to unread or the other way around unless you CLICK ON THE CATEGORY name. Even if you click on a thread inside the cateogry (from the main page), it will stay the same icon (as unread).

Also this is have an affect with the sub forums too.

ru55ian 08-18-2007 12:22 AM

works great on 3.6.8

Simon Moon 08-29-2007 07:19 PM

Make sure when using this in 3.6.8 or later to not blindly copy the template edits. The templates have a bit more in them in the 3.6.8 than the installation shows. Essentially, just search for
Code:

$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif
and replace it with
Code:

<if condition="$show['customstatusicon']">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>
That does the trick already and leaves the rest untouched in the templates. Mainly the id of the forum is removed with just copy pasting it, which can be very tricky if you have some style that depends on this.

Chris M 09-09-2007 03:48 AM

Quote:

Originally Posted by Simon Moon (Post 1328283)
Make sure when using this in 3.6.8 or later to not blindly copy the template edits. The templates have a bit more in them in the 3.6.8 than the installation shows. Essentially, just search for
Code:

$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif
and replace it with
Code:

<if condition="$show['customstatusicon']">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>
That does the trick already and leaves the rest untouched in the templates. Mainly the id of the forum is removed with just copy pasting it, which can be very tricky if you have some style that depends on this.

Thank you for highlighting this...

I haven't had a chance to port any of my modifications to the latest version as I haven't even had the time to renew my licences yet ;)

I plan to do this after I get back from Holiday in October, so expect a new update confirmed to work on whatever the latest version is in approximately mid-October time :)

Chris

rasputin 10-15-2007 08:17 AM

Quote:

Originally Posted by Ultima07 (Post 1302213)
There's some flaws with this, even though it works. The icon wont change to unread or the other way around unless you CLICK ON THE CATEGORY name. Even if you click on a thread inside the cateogry (from the main page), it will stay the same icon (as unread).

Also this is have an affect with the sub forums too.


I have the same problem!

Any suggestion?

Kwikms 10-15-2007 10:43 AM

I use this mod in my forum for quite a long time and like it very much :) Actually, I modified it to show other custom infos for every forum as well.

http://www.fehler-im-film.de/forum/f...play.php?f=389

You can see the images, but also "IMDB", "OFDB" and "Kino.de" custom links.

I added a field "Kinostart" (theatrical release) which has the date. But the format is english. I tried to get the german format without any success.

What I tried so far is

Code:

if ($forum['subinfos'] == 'kinostart')
{
$forum['customsubinfos'] = date("d.m.Y", strtotime($forum['kinostart']));
}

But then it is just empty.

Any ideas how to convert the date?

Kwikms 10-15-2007 10:47 AM

And another thing :)

I activated the option to show the forum infos on the forumdisplay with no subs also

http://www.fehler-im-film.de/forum/f...splay.php?f=53
(Herr der Ringe - Die Gef?hrten 2001; R: Peter Jackson; Mit: Noel Appleby, Sean Astin, Sala Baker, u.v.a. in this case).

I want to show the custom icon there as well but didnt get it to work. How can I do that?

jolinary 10-15-2007 01:45 PM

Very nice hack :) thx u :)

compatible for vb 3.6.8

rasputin 10-24-2007 10:01 PM

Quote:

Originally Posted by Ultima07 (Post 1302213)
There's some flaws with this, even though it works. The icon wont change to unread or the other way around unless you CLICK ON THE CATEGORY name. Even if you click on a thread inside the cateogry (from the main page), it will stay the same icon (as unread).

Also this is have an affect with the sub forums too.

ANY SUGGESTION FOR THIS PROBLEM? IS IMPORTANT!

BelMaseto 11-07-2007 10:17 PM

Just I've moved my board to a subfolder in public_html, and Custom Status Icons seems don't find the images now: I must edit manually the location of each image to include the path of the new subfolder.

Am I missing something ?

powerbook 11-24-2007 11:23 PM

Hi,

There doesn't seem there is much action in this forum but I'll try in anycase..

When you have more than one style active is there a way of making each style having it's own forum icons?

Thanks

Pete C 11-26-2007 01:00 PM

Quote:

Originally Posted by powerbook (Post 1388883)

When you have more than one style active is there a way of making each style having it's own forum icons?

Thanks

If you're using this particular hack, I would suggest that you just edit the forumhome_forumbit_level1_post template & the forumhome_forumbit_level2_post template, for each of the styles you want the modification to work on.

Audentio 01-27-2008 11:44 PM

Does this work with 3.7? :)

leannet 04-03-2008 10:09 AM

I do not have this
<td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>

I have <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>

Is that the same thing, is there a reason my code is different?

mandogon 04-09-2008 09:54 PM

I have the same issue as above

kp^ 04-13-2008 12:35 AM

I'm with the above posters. I have 3.6.9 installed.

Thanks!

desmomax 04-16-2008 02:22 PM

Hallo,
i installed your mod and it works fine.
Today i found an error, if i go in a category of my forum i see an error message like this:

id="forum_statusicon_9" />

you can see here:
http://www.ilbraccoitaliano.net/foru...isplay.php?f=3

but if i display the main forum list no error :
http://www.ilbraccoitaliano.net/forum/index.php


Can someone help me?
thanx

desmomax 04-18-2008 11:34 AM

Nobody can help me?

soundbarrierpro 04-19-2008 09:48 PM

vb 3.7.0

using mod "columns on forumhome by xenon" and of course your mod
custom forum status icons"

My icons ain't changing. I installed the xml. I created a customicons directory and placed it at forum root. I edited the following:

forumhome_forumbit_columncell
Code:

<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]" width="$column_width">
        <div>
                <img src="<if condition="$show['customstatusicon']">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" />
                <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
        </div>
        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
</td>

forumhome_forumbit_level1_post

Code:

<tbody>
        <tr align="center">
                <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
               
                <table cellpadding="0" cellspacing="0" border="0">
                <tr>
        <td><img src="<if condition="$show['customstatusicon']">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" /></td>
                        <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
                        <td>
                        <div>
                                <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                                <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
                        </div>
                        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                        <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
                        <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                        </td>
                </tr>
                </table>
               
                </td>
                <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
                <td class="alt1">$forum[threadcount]</td>
                <td class="alt2">$forum[replycount]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
                </if>
        </tr>
</tbody>
<if condition="$childforumbits">
<tbody>
        $childforumbits
</tbody>
</if>

forumhome_forumbit_level2_post

Code:

<tr align="center">       
        <td><img src="<if condition="$show['customstatusicon']">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" /></td>
        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
                <div>
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                        <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
                </div>
                <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
                <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
        </td>
        <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
        <td class="alt1">$forum[threadcount]</td>
        <td class="alt2">$forum[replycount]</td>
        <if condition="$vboptions['showmoderatorcolumn']">
        <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
        </if>
</tr>
$childforumbits


ringleader 04-27-2008 08:58 PM

Quote:

Originally Posted by soundbarrierpro (Post 1494769)
vb 3.7.0

using mod "columns on forumhome by xenon" and of course your mod
custom forum status icons"

My icons ain't changing. I installed the xml. I created a customicons directory and placed it at forum root. I edited the following:

<snip>

I had this same issue there.
'Search this mod' is a useful function; try searching for 'xenon'.
https://vborg.vbsupport.ru/showpost....5&postcount=96

soundbarrierpro 04-29-2008 04:09 PM

Quote:

Originally Posted by ringleader (Post 1500980)
I had this same issue there.
'Search this mod' is a useful function; try searching for 'xenon'.
https://vborg.vbsupport.ru/showpost....5&postcount=96

You are the best! Finally. Question though.

How do you get the information to show up next to the icon? Mine just shows the link to the forum, ie. music forum. I'd like to have the latest thread info like this.

https://vborg.vbsupport.ru/external/2008/04/2.jpg

ringleader 04-29-2008 04:15 PM

Quote:

Originally Posted by soundbarrierpro (Post 1502434)
You are the best! Finally. Question though.

How do you get the information to show up next to the icon? Mine just shows the link to the forum, ie. music forum. I'd like to have the latest thread info like this.

[img]<snip>[/img]

In the template Forumhome templates >> forumhome_forumbit_columncell

FIND
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>

ADD AFTER
$forum[lastpostinfo]

This will just show it the way it normally shows up on the regular index.

To play around with the positioning of the text, find the last poster information in the template forumhome_lastpostby

soundbarrierpro 04-29-2008 04:39 PM

It works, but it creates the status icon next to the last post info. Basically you have your "forum" icon, then below it, the thread icon with the post info.

ringleader 04-29-2008 05:30 PM

Quote:

Originally Posted by soundbarrierpro (Post 1502463)
It works, but it creates the status icon next to the last post info. Basically you have your "forum" icon, then below it, the thread icon with the post info.

Put it in its own div like this
<div>$forum[lastpostinfo]</div>

And then work with aligning the divs together.


All times are GMT. The time now is 08:41 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.01551 seconds
  • Memory Usage 1,848KB
  • 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
  • (12)bbcode_code_printable
  • (9)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
  • (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