PDA

View Full Version : Forum Home Enhancements - vB Category Icons


Logikos
10-08-2004, 10:00 PM
vB Category Icons
www.vBHackers.com

Updates

None At this Moment


Future Plans
Being able to upload the icon via the admincp. (not guaranteed)



What this does
This will allow you to setup a icon to display by the title of each forum you have. The look of the icon depends on how you want to set it up in the templates. This will work for all levels of sub-forums.


To do list...

Time to install: 5-10 minutes
Queries to run: 1
File Mods: 1

/admincp/forum.php


Templates to edit: 0
Templates to add: 0
New Phrases: 1


Please read carefully and make all the necessary changes as stated. This is will work if installed properly.
PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack

Click It
https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=70365)

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Please post bugs and errors here. Hope you like, feedback welcomed.

GamerJunk.net
10-09-2004, 04:31 AM
Good job! Installed :)

Logikos
10-09-2004, 04:46 AM
Thank you ^^

vBTotal
10-09-2004, 04:55 AM
*Installs*

Nice hack, been looking for something similar to this very nice :)

Logikos
10-09-2004, 05:04 AM
*Installs*

Nice hack, been looking for something similar to this very nice :)
Hmm, Thanks. Could you click the install button? Thanks! ^^

Silverdawn222
10-09-2004, 07:36 AM
Is there a board you could link to for a demonstration? Though I get the purpose for this hack, and I see the screenshot, I'd like to see it used across a board.

Logikos
10-09-2004, 07:46 AM
Is there a board you could link to for a demonstration? Though I get the purpose for this hack, and I see the screenshot, I'd like to see it used across a board.
www.vbhacks.us

Lionel
10-09-2004, 12:57 PM
why would that tell me
WHERE forumid=17
mysql error: Unknown column 'forumhomeicon' in 'field list'

you forgot to include the alter db in instructions

Logikos
10-09-2004, 01:08 PM
Run this query


ALTER TABLE forum ADD (
forumhomeicon VARCHAR(200) NOT NULL DEFAULT ''
)


Instructions updated

AnhTuanCool
10-09-2004, 01:24 PM
Uploaded the wrong installation txt file Live Wire, Rss Feed on forumhome page. :ermm:

Logikos
10-09-2004, 01:33 PM
Grrr, lol i just woke up, sorry lol. Rereupload the file again. Lets try this again kenny. ^^

cinq
10-09-2004, 01:50 PM
There is already such a hack available , been using it for quite some time :)

Logikos
10-09-2004, 01:52 PM
I released this hack some time ago, but i had it deleted. But i have decided to bring it back, if your not talking about this hack. Then which would you be refering to?

AnhTuanCool
10-09-2004, 01:58 PM
The one without query to run and file to edit.

I can release it but without file to edit then it's not hack any more :p

Logikos
10-09-2004, 02:02 PM
I know how to do this via templates, but it much more orginized when the control is right there in your admincp, so much esier to edit and add new ones, ect...

Just a personal prefrence of mine, that i wanted to share. :)

HiDeo
10-09-2004, 02:12 PM
Good job thanks

AnhTuanCool
10-09-2004, 02:17 PM
No problem Live Wire :)

About your hack, I think it needs a bit more detail about where to place the $forum[forumhomeicon] ;)

Silverdawn222
10-09-2004, 05:21 PM
www.vbhacks.us

Cheers, Live Wire! Great hack.

turkforum
10-12-2004, 06:38 AM
<a href="http://www.vbulletin.com/forum/showthread.php?t=114545&highlight=images%2Fforum_pics%2F" target="_blank">http://www.vbulletin.com/forum/showt...Fforum_pics%2F</a>

I guess this si the same as this post why take the risk of running queries at the database

Nice hack anyway

Logikos
10-12-2004, 10:04 AM
This hack does not run queries at the database to grab the icon. I've installed a clean default vBulletin version 3.0.3 on my localhost, and there are 9 queries executed when going to the forumhome.

After installing my hack there are still only 9 queries executed when showing the forumhome, and you can have 100 forums with 100 icons, and no addtional queries are executed. The diffrence between that one and my, besides the fact that his is a template mod, mine makes it much more more orginized, and easy to get to.

But we're in a world of choice.... ^^

deb0
10-13-2004, 12:45 AM
I am stuck halfway thru the hack instructions. I don't know where to add the last instruction part- I am a newbie:

Add $forum[forumhomeicon] in your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post
to display on all your forums, and sub forums.
================================================== =====

Logikos
10-13-2004, 01:03 AM
The $forum[forumhomeicon] will call the image being used.

$forum[forumhomeicon] = <img></img>

So you would place $forum[forumhomeicon] in those 2 templates to show the icon.

deb0
10-13-2004, 01:08 AM
thx Live for the quick response. I know what it's for, but I don't have a clue where in those templates it should go. Here is my _level1post:


------------------------------------
<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="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" 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]">$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>

svtsnake01
10-13-2004, 07:25 PM
thx Live for the quick response. I know what it's for, but I don't have a clue where in those templates it should go. Here is my _level1post:


------------------------------------
<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="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" 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]">$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>

I'd like to use this but I would want some limitations.

I want my users to either use this, or use a text signature.

I do not want them to be able to use the IMG tags to retrieve their signature from else where. I am tired of the HUGE sig images. With it done this way, I can control the image size.

Logikos
10-13-2004, 08:04 PM
thx Live for the quick response. I know what it's for, but I don't have a clue where in those templates it should go. Here is my _level1post



<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="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
<td>
<div>
$forum[forumhomeicon]
<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]">$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>


Use that and you will get the idea...

Logikos
10-13-2004, 08:04 PM
I'd like to use this but I would want some limitations.

I want my users to either use this, or use a text signature.

I do not want them to be able to use the IMG tags to retrieve their signature from else where. I am tired of the HUGE sig images. With it done this way, I can control the image size.

What are you talking about? This is a hack for Icons on your categorys...

svtsnake01
10-13-2004, 08:37 PM
What are you talking about? This is a hack for Icons on your categorys...

Opps, I had way to many windows open at once. Disregard

deb0
10-13-2004, 09:18 PM
thanks live, great hack.

Blackbeard
10-15-2004, 07:45 PM
http://learnall/image/intros.gif Members Introduction
Must introduce yourself before being allowed into the rest of the forum.

this is whats being displayed what have i done wrong

Blackbeard
10-15-2004, 08:17 PM
<img scr="images/homeicon/intros.gif" border="0" />

is what iam putting in

i just get a image square box with colour shapes inside inside, not my image

marcel-ea
10-27-2004, 09:16 PM
me to the same problem

Logikos
10-28-2004, 09:10 AM
There must be an error with your urls, try adding.

<img scr="http://www.yoursite.com/forums/images/homeicon/intros.gif" border="0" />


The full url and see if it shows, working fine for me.

TheWolverine
11-07-2004, 07:24 PM
I'm having the same problem. The image is not showing up. I've tried both the full url and the relative one and the result is the same. Any other suggestions?

The Wolverine :D

cecilBergwin
11-25-2004, 08:33 PM
Nice addon thank you, just installed temp version and it looked great, ill now go ahead with full update.

Cheers.

Wayne2k1.com
12-07-2004, 12:58 PM
There must be an error with your urls, try adding.

<img scr="http://www.yoursite.com/forums/images/homeicon/intros.gif" border="0" />


The full url and see if it shows, working fine for me.

img S-R-C, not S-C-R :)


<img src="http://www.yoursite.com/forums/images/homeicon/intros.gif" border="0" />

Logikos
12-17-2004, 01:49 PM
Good eye wayne ;)

N8
12-24-2004, 04:27 AM
Awesome hack, thanks Live Wire!

/me installs

camikazi2k
12-24-2004, 10:38 PM
why mine is not showing in a seperate cell like your site is showing, its just next to the forum name text

Logikos
12-25-2004, 06:45 AM
why mine is not showing in a seperate cell like your site is showing, its just next to the forum name text
i did that with alittle HTML.

pauloo
12-25-2004, 04:58 PM
Thank you !

But I need your help.
My img isn't center.
I want in center ( see screen demo ) here (https://vborg.vbsupport.ru/attachment.php?attachmentid=21102)

My template level2 is:


<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<div>
$forum[forumhomeicon]
<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>

<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]">$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>
</div>
</td>
<td class="alt1" nowrap="nowrap">$forum[lastpostinfo]</td>
<td class="alt2">$forum[threadcount]</td>
<td class="alt1">$forum[replycount]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="alt2"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
</if>
</tr>
$childforumbits

Thank you
(ps: sorry for my english)

Fibe
12-27-2004, 06:02 PM
i did that with alittle HTML.


How ?

And many thanks, great hack !

kadafi_alive
01-01-2005, 09:12 PM
Hi, I've a question.

Will this hack automatically resize the icons or do you've to specifically choose icons from the same sizes?

blkatt57
01-03-2005, 12:22 PM
I am a newbie here and have what may seem like a dumb question.

I understand how to do everything in the directions except - "run query."

Please inform.

Thanks.

blkatt57
01-03-2005, 01:55 PM
Figured it out.

Thanx.

Suzie
01-10-2005, 11:08 PM
never mind I figured it out. :nervous:

quanvo81
01-16-2005, 04:17 AM
How ?

And many thanks, great hack !
If you want a spacer between your Text and the Forum Icon, you need to add a little HTML right after the code <img scr="http://www.yoursite.com/forums/images/homeicon/intros.gif" align="left"> in the Category Icon by this : <img src="spacer.gif" width="7" height="60" align="left">
Notice : try to reduce the icon image path length, something like <img src="images/homeicon/intros.gif" align="left"><img src="spacer.gif" width="7" height="60" align="left">, so it will be able to fit in the Category Icon Field , adjust the height of the spacer with the length of your forum description so all the text will be seperated with the icon. You don't need the spacer image .
Good luck

kadafi_alive
01-16-2005, 12:10 PM
Hi,

Does anyone know how to reverse the SQL query of this hack.

It's

ALTER TABLE forum ADD (
forumhomeicon VARCHAR(200) NOT NULL DEFAULT ''
)

And I un-installed the hack

Thanks in advance

Mechanical Mind
01-16-2005, 02:46 PM
I added images to my forum titles by simply doing template mods found in this thread at vB.com:

http://www.vbulletin.com/forum/showthread.php?t=114545&highlight=image+next+to+forum+title

yoyoyoyo
01-16-2005, 02:54 PM
Hi,

Does anyone know how to reverse the SQL query of this hack.

It's

ALTER TABLE forum ADD (
forumhomeicon VARCHAR(200) NOT NULL DEFAULT ''
)

And I un-installed the hack

Thanks in advance

assuming that the "forumhomeicon" is not containing any needed info:

ALTER TABLE `forum` DROP `forumhomeicon`;

quanvo81
01-16-2005, 05:11 PM
I added images to my forum titles by simply doing template mods found in this thread at vB.com:

http://www.vbulletin.com/forum/showthread.php?t=114545&highlight=image+next+to+forum+title

Live Wire Hack is much much more organized, like he said, you are in the world of choice . :banana:

Mechanical Mind
01-17-2005, 11:12 PM
Live Wire Hack is much much more organized, like he said, you are in the world of choice . :banana:

I'm kind of a newbie... How is it more organized? If it is better in some way, I would probably install it.

Just curious...

ChrisBaktis
01-18-2005, 12:04 AM
Can we add the images on the Forum Home page?

Dan
01-21-2005, 08:07 PM
I have a question... does this let us select them for only certain ones? or does this do it for all of them so each one has to have one?

johnnyb
02-02-2005, 10:56 PM
I have a question... does this let us select them for only certain ones? or does this do it for all of them so each one has to have one?

Bump, I need to know the same thing.

Thanks.

Logikos
02-03-2005, 10:33 PM
Bump, I need to know the same thing.

Thanks.
lets you select it for any forum you want.

sitka
02-22-2005, 03:29 AM
where in the admincp ??? I don't see it

i figured it out. :rolleyes:

xBhp
02-26-2005, 09:26 AM
:surprised: i have completed all the steps except this one :

================================================== =====
Add $forum[forumhomeicon] in your forumhome_forumbit_level1_post and forumhome_forumbit_level2_post
to display on all your forums, and sub forums.
================================================== =====

what does this mean?

regards :ermm:

Logikos
02-28-2005, 08:30 PM
Add $forum[forumhomeicon] in your forumhome_forumbit_level1_post template and forumhome_forumbit_level2_post template to display on all your forums, and sub forums.

quanvo81
03-22-2005, 03:40 AM
My other styles work so fine when I edited the forumhome_forumbit_level1_post and forumhome_forumbit_level2_post
But with my most favourite style I can't make it work because my forumhome_forumbit_level1_post look like this and it's so difference to other templates.
<tbody>
<tr align="center">
<td class="alt2Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="30"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<td width="9"><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
<td width="100%" align="left">
<div>
$forum[forumhomeicon]
<if condition="$forum[link] != ''"><a style="float:$stylevar[right]; padding-top: 9px;" href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img src="$stylevar[imgdir_statusicon]/link_home.gif" alt="Jump to $forum[title]" border="0" /></a><else /><a style="float:$stylevar[right]; padding-top: 9px;" href="#top" onClick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_lastpost.gif" alt="Last post information" border="0" /></a><a style="float:$stylevar[right]; padding-top: 9px;" href="showthread.php?$session[sessionurl]goto=lastpost&amp;t=$lastpostinfo[lastthreadid]"><img src="$stylevar[imgdir_statusicon]/lastpost_home.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a></if><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]">$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>
<if condition="$forum[link] != ''"><else /><div>$forum[lastpostinfo]</div></if>
</td>
</tr>
</table>

</td>

<td class="alt2"><div style="color: #496690; font-weight: bold; padding-top: 6px; font-family: Tahoma;"><b>$forum[threadcount]</b></div></td>
<td class="alt1"><div style="color: #496690; font-weight: bold; padding-top: 6px; font-family: Tahoma;"><b>$forum[replycount]</b></div></td>

</tr>
</tbody>
<if condition="$childforumbits">
<tbody>
$childforumbits
</tbody>
</if>
The icons still don't show up. Is there nay suggestion? :disappointed:

p h o e n i x x
03-23-2005, 06:48 PM
I tried to run the query but it came up with an error. Where should i run the query I tried to do it in Import and Maintenance

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'poke-mag_vbb.forum' doesn't exist

- PX

Flow Fusion
03-28-2005, 12:04 PM
I also noticed this doesn't work in all styles any idea where else to work on that?

AlexUK
03-28-2005, 02:55 PM
Hi there, Installed this hack and double checked all steps again and again and the icons dont show at all?
Can anyone help me with this?
I tought it was easy.

Flow Fusion
03-28-2005, 03:10 PM
Sure hit me up on Yahoo. flow_fusion

AlexUK
03-29-2005, 01:44 PM
Still have the same problem, no images show at all.
All the steps have been done correctly and I only have 1 syle in my forums.
Any help?

rjordan
03-29-2005, 07:33 PM
Did you make the changes in your templates to actually show the images? There are no specific instructions on exactly WHERE to put them in, so you need to know how to do a little on-your-own template changing.

AlexUK
03-30-2005, 02:13 AM
Yeah I played around an no luck at all. :(

rjordan
03-30-2005, 02:25 AM
Here is what I put together on my site...

In forumhome_forumbit_level1_post:

Find:
<td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
<td>
Add below this:
<table width="100%">
<tr>
<td width="20" align="center" valign="top">
$forum[forumhomeicon]</td>
<td>
Then find:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
Add below this:
</td>
</tr>
</table>
In forumhome_forumbit_level2_post:

Find:
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
Add below this:
<table width="100%">
<tr>
<td width="20" align="center" valign="top">
$forum[forumhomeicon]
</td>
<td>
Then find:
<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
Add below this:
</td>
</tr>
</table>
Naturally, change the table width (shown as 20 above) to the width you want. Note that if you do not have a category icon, this will put a blank space in front of each category. I think i tlooks better than having categories shifting back and forth, but that is just me. Hope this helps!

AlexUK
03-30-2005, 02:38 AM
Thanks a lot, I will try this.

AlexUK
03-30-2005, 03:01 AM
It failed to work again, I am really frustated with this now.
I tried different ways and the forums dont show up any images.

rjordan
03-30-2005, 03:39 AM
Check your PM.

Flow Fusion
04-03-2005, 07:27 PM
PM me also please. I have a few skins I want this on.

rjordan
04-03-2005, 10:04 PM
What I have above did not for you work, Flow?

Flow Fusion
04-04-2005, 09:13 AM
It works on some of the skins but not all of them.

use this name to log in

alchemist
pw 999999

snake-boy
04-17-2005, 11:25 PM
Just installed this into 3.0.7 and the image does not appear :( This WAS working in my 3.0.3 that I just upgraded from.

Does anyone know how I can get the image to appear?

-snake-boy

Allan
04-21-2005, 10:03 PM
work on 3.0.7, thanks ;)

am-fs
05-24-2005, 07:26 PM
Great Hack :up:

I do have a question? where do i do this?
it works just dont have the tilte next to the option
thanks

================================================== =====
Add phrase:
================================================== =====
Phrase Type: Global
Varname: forum_home_icon
Text: Category Icon
================================================== =====-

Logikos
05-24-2005, 08:13 PM
In the ACP you click on phrase manager, then add new phrase.

am-fs
05-24-2005, 08:43 PM
Thank you .........Sir

:up:

Logikos
05-24-2005, 08:44 PM
Np ;)

teedizz
05-27-2005, 03:32 AM
can you please let me know how to put the catagory name & description to the right of the icon? when i installed this hack & tried this hack it shows up klike the first picture below but i want it to look like the second picture....how is this possible to do? thanks for any info.

http://users.adelphia.net/~teedow23/1.JPG

http://users.adelphia.net/~teedow23/2.JPG

owner
05-29-2005, 03:32 PM
OK just instelld this ... but i dnt know where the place the code in the template ? .... cause i did at the bottom and the img shows up way at the top ... help help

teedizz
05-30-2005, 05:44 AM
can someone please give some input on my question...thx

Logikos
05-30-2005, 10:49 AM
Open Template "forumhome_forumbit_level2_post" and replace it with this:


<tr align="center">
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" /></td>
<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
<table>
<tr>
<td width="1">$forum[forumhomeicon]</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]">$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>
$childforumbits


Its just basic HTML.

sensimilla
05-30-2005, 12:15 PM
thanks Live Wire , its a great hack and more stable than others of that kind..

teedizz
05-30-2005, 06:05 PM
thx bro...worked perfect ;)

teedizz
05-30-2005, 06:29 PM
Edit: Actually I just noticed that if a catagory has a description then everything lines up perfect but for instance if it doesnt have a dscription then the sub-forums line up all crazy. I posted a example pic of one with & one without a description.....can you tell me how to line everything up even if it doesnt have a description. Thx bro


http://users.adelphia.net/~teedow23/untitled.JPG

Logikos
05-31-2005, 04:47 AM
Weird, works just fine on my test forums. You do any other editing other then what i said?

teedizz
05-31-2005, 08:06 AM
Nothing at all bro. I dont know how to code so I havent touched a thing. I just copied & pasted what you said that I should do in the forumhome_forumbit_level2_post.

Logikos
05-31-2005, 08:15 AM
K, let me see if i can fix this. btw, while your waiting. Could you ummm, click the install button? ;) thanks.

vakvak
06-01-2005, 02:25 AM
thank:)

kobescoresagain
06-10-2005, 05:43 PM
A quick question, I installed you hack, and clicked install, I got it working and everything. When I downloaded it I thought it did something else, it doesn't but I find this as useful. The question that I had is could you tell me how to change it so that I could use this as the forum new thread or no new thread icon? So it shows up on the very left? I would find this very useful and think it could be change easily. The best thing I oculd think of is if I could do what you did plus what I would want to do. I think I would just have to add another phrase, and put the equivalent $forum[forumhomeicon] in the right area. You could do a couple different ones each forum and make multiple phrases, with the image you want ot show up.

What I was planning to do was to take the logo of the major sports leagues, When their is a new post I would make them regular, when no new posts, they would look the same, but faded.

Thanks alot

Borgs8472
07-06-2005, 07:43 PM
This hack doesn't seem to be compatibly with forums arranged in columns hack :(

sross
07-08-2005, 10:52 PM
i got it looking ok in firefox but in IE6 it explodes my table, any ideas why. you can see it here: http://www.itburnouts.com/forum.php

here is my level 1 code:


</table>
<div style="padding:2px 0px 5px 0px;"></div>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"></a>
$forum[forumhomeicon]
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead">&nbsp;</td>
<td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" align=
center">$vbphrase[last_post]</td>
<td width="45" class="thead">$vbphrase[threads]</td>
<td width="45" class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
<tr>
<td class="tfoot" style="padding: 0;" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>"><img src="$vboptions[cleargifurl]" alt="" width="1" height="8" /></td>
</tr>
</tbody>
</if>

Logikos
07-09-2005, 02:38 AM
I have no idea why it's doing that. From what i see you have coded it correctly...

The Avatar
07-11-2005, 06:54 AM
Just installed it, and I likes it very much :)

Logikos
07-11-2005, 07:03 PM
Thanks, glad this hack very usefull :)

Yukino_AE
08-12-2005, 05:15 AM
ok issue. everytime i try to run the querry i get this:

Error
SQL query:

ALTER TABLE forum ADD (

forumhomeicon VARCHAR( 200 ) NOT NULL DEFAULT ''
)
MySQL said:

#1146 - Table 'aex4.forum' doesn't exist

do i have to change the forum part to vb3_forum?

nevermind i answered my own question. lol the answer is yes. so i guess anyone installing this that has a prefix for their forum in the db needs to tye that in into the query.

for example i use vb3_ as a prefix so to make this query work i had to run

ALTER TABLE vb3_forum ADD (

forumhomeicon VARCHAR( 200 ) NOT NULL DEFAULT ''
)

just thought i'd point that out for others cuz it wasn't in the intructions and i'm a n00b at installing hacks and stuff. ^_^

Yukino_AE
08-12-2005, 05:22 AM
A quick question, I installed you hack, and clicked install, I got it working and everything. When I downloaded it I thought it did something else, it doesn't but I find this as useful. The question that I had is could you tell me how to change it so that I could use this as the forum new thread or no new thread icon? So it shows up on the very left? I would find this very useful and think it could be change easily. The best thing I oculd think of is if I could do what you did plus what I would want to do. I think I would just have to add another phrase, and put the equivalent $forum[forumhomeicon] in the right area. You could do a couple different ones each forum and make multiple phrases, with the image you want ot show up.

What I was planning to do was to take the logo of the major sports leagues, When their is a new post I would make them regular, when no new posts, they would look the same, but faded.

Thanks alot


I'd also like a way to be able to do this with the forum new thread no new thread? anyone know how?

digitalSite
09-11-2005, 12:23 AM
Quick question: where do I put the <img src=blah blah> HTML code?

Thanks :)

Logikos
09-11-2005, 12:26 AM
In the admincp. See screenshot. :)

Borgs8472
09-11-2005, 12:45 AM
^ ^
hey live wire, could you make it so the admincp only needs an image path, not a whole <img scr= business?

Or does that allow you more flexibility, if so, how have you used that to your advantage?

digitalSite
09-11-2005, 12:51 AM
In the admincp. See screenshot. :)

LOL, thanks...I didn't see that option when I went to edit the forum, which is why I asked. If I would have uploaded the forum.php file I edited, maybe I would have seen it sooner :)

Thank you! (I pressed install :D)

Logikos
09-11-2005, 12:56 AM
Glad you figured it out :)

digitalSite
09-11-2005, 02:35 AM
Glad you figured it out :)

Umm, sorry to bother again...I uploaded forum.php and i added the <img> tag to all the forums, but when i go to the forum, they are not showing up. I am using vB 3.0.9...any ideas on what I could be doing wrong?

Logikos
09-11-2005, 05:39 AM
Did you edit the template? Please read the directions carefully. $forum[forumhomeicon] holds the <img> info...

digitalSite
09-11-2005, 03:40 PM
I followed what rjordan did (Post #67 on this thread)...hmm, I will check this again.

digitalSite
09-11-2005, 03:49 PM
I figured it out!

When editing the forums in the FORUM MANAGER in my ADMINCP, this is what I had as the URL for the icon:

<img src="/images/pics/book.gif" border="0">

Then when I changed this to the following:

<img src="images/pics/book.gif" border="0">

And NOW it works! The thing to note here is the forward slash "/" I had added in front of the word "images" - this is what caused my images to show up as empty spaces in front of my forum titles.

Thanks!

mfy2a
09-14-2005, 09:20 PM
i can't download this hack, i have no privilege.
i have a licence on vbulletin.com
pleaz help

(sorry for my english, i'm french ^^)

Logikos
09-14-2005, 10:32 PM
If you able to post in this section then you should be able to download, otherwise create a new thread in the site feedback section.

Inferno Dragon
09-15-2005, 07:40 PM
nice small modifiction :) I will use it on my upcoming forum!