vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - vB Category Icons (https://vborg.vbsupport.ru/showthread.php?t=70365)

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:

PHP 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_$forumidsrc="$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_$forumidstyle="{$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="padding0;" 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

Quote:

Originally Posted by kobescoresagain
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. :)


All times are GMT. The time now is 11:12 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.01265 seconds
  • Memory Usage 1,767KB
  • 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_php_printable
  • (1)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
  • (10)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