vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Thread Category / Prefix Hack (https://vborg.vbsupport.ru/showthread.php?t=61494)

Anek 11-20-2004 05:50 PM

Thx for the answer.
My doubs about other hack is because some *php and templates are the same.. but I'll try to install :)

StefanS 11-29-2004 11:30 AM

Hi,

installed as described but if i call threadcategory.php i'm getting errors like:

Code:

Fatal error: Allowed memory size of 92212328 bytes exhausted at (null):0 (tried to allocate 35867534 bytes) in /home/httpd/docs/thinkfactory.de/foren/threadcategory.php(129) : eval()'d code on line 61
or

Code:

Fatal error: Allowed memory size of 74248752 bytes exhausted at (null):0 (tried to allocate 17942529 bytes) in /home/httpd/docs/thinkfactory.de/foren/threadcategory.php(129) : eval()'d code on line 82
Could anyone give me a shorthand where to search for fixing it?

Thanks!

cinq 12-12-2004 01:23 AM

Mike, is it possible to take up the suggestion of having 'mini images' as a prefix like what was mentioned in the first few posts of this hack thread ?

Because some of the thread prefixes are really long, and it would throw the layoff out and could be better represented by an icon.
Post icons have totally no functionality, compared to your thread prefixes ( think sorting by prefix, search by prefix etc )

I hope you could consider this request :)

Overlord 12-15-2004 02:52 AM

I agree, I've installed it and it works fantastic, good job.

Some of my members however have requested I change the prefixes to easy to destinguish icons. Or perhaps both? with a switch on every forum to use text or icons?

cinq 12-15-2004 03:07 AM

Not really a switch, perhaps just allowing the input box to accept the img tags ( either bbcode or html , doesnt matter to me ) and to show it correctly.

I tried but it shows the code instead lol

Overlord 12-15-2004 07:50 AM

Yes, that would probably work better.

Also, someone mentioned you can disable the category column and have the prefix appear before the thread titles? How exactly do you do that?

EDIT: I have recently had complaints that members are mysteriously losing posts, and topics are mysteriously going missing. Since the only major hack I installed over the past few days has been this I was wondering if there's any way that threads could be 'accidentally' hard deleted by this hack?

EDIT2: Nevermind, problem solved., I had a mod who did un-intentionally. :P

Fibe 12-29-2004 12:35 AM

Tried everything but I still see the categories like in the attachment.
Any idea what I could have done wrong?

Mystics 12-29-2004 05:34 PM

Quote:

Originally Posted by Fibe
Tried everything but I still see the categories like in the attachment.
Any idea what I could have done wrong?

Re-do your changes in the SHOWTHREAD template (First revert to original).

Fibe 12-29-2004 09:45 PM

Ok I just redid all and seems to work just fine now.

thanks !

Fibe 12-29-2004 10:09 PM

Hmm problem seems to have come from the Sticky spacer hack:

Quote:

By Kingskin @ vbulletin.nl
Feel free to redistribute this/do whatever you like with it, i dont care!

@~@~@~@~@~@~@~@~@~@~@~@~@~

Go to the FORUMDISPLAY template of the style you wish to modify

Find:

$threadbits_sticky




Below that add:

</table><p>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<if condition="$show['threadicons']">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>
<td class="thead" width="100%">
<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg">$v bphrase[rating]</a> $sortarrow[voteavg]</span></if>
<a href="$sorturl&amp;order=asc&amp;sort=title">$vbph rase[thread]</a> $sortarrow[title] /
<a href="$sorturl&amp;order=asc&amp;sort=postusername ">$vbphrase[thread_starter]</a> $sortarrow[postusername]
</td>
<td class="thead" width="150" align="center" nowrap="nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$ vbphrase[last_post]</a> $sortarrow[lastpost]</td>
<td class="thead" align="center" nowrap="nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" >$vbphrase[replies]</a> $sortarrow[replycount]</td>
<td class="thead" align="center" nowrap="nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views">$vbp hrase[views]</a> $sortarrow[views]</td>
</tr>
Any idea how I can combine the 2? Moment I change these things in the FORUMDISPLAY forum the tables shift and all looks messy.

Thanks


All times are GMT. The time now is 10:26 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.01251 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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