vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Forum Display Enhancements - Thread Listing Background Colors Like vBulletin.org (https://vborg.vbsupport.ru/showthread.php?t=174973)

choccyclaire 04-03-2008 11:40 AM

Why didn't whoever creates the plugins for vbulletin post this? :p

I will try later. :)

Hasann 04-03-2008 11:47 AM

Quote:

Originally Posted by KURTZ (Post 1481819)
*Kurtz watches this hack :D really nice job!

anyway i'm wondering and suggest you a feuature: if i wanna colorize only the Announce or the Sticky (i don't care about the normal threads) can i do that? hope you understand :)

yes I can do this feature
Quote:

Originally Posted by TTG (Post 1481857)
Latest xml still creates footer problems on my site.
Can you omit the footer template edits from the xml and let us do them manually to see if we can solve the problem !?

yes you can make manually template edit

first step is delete the FORUMDISPLAY_BGCOLORS template from this hack
and search in FORUMDISPLAY template this code

HTML Code:

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
than add above this code

HTML Code:

<if condition="$vbulletin->options['enable_thread_listing_color_legend_box'] == 1">
<td align="$stylevar[left]">
<table class="tborder" cellpadding="3" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
<div class="smallfont" align="$stylevar[left]"><strong>$vbphrase[hasann_color_legend]</strong>:</div>
<td class="newpost" align="center"><span class="smallfont">$vbphrase[hasann_new_post]</span></td>
<td class="stickythread" align="center"><span class="smallfont">$vbphrase[hasann_sticky_thread]</span></td>
<td class="pollthread" align="center"><span class="smallfont">$vbphrase[hasann_poll_thread]</span></td>
<td class="postedthread" align="center"><span class="smallfont">$vbphrase[hasann_posted_thread]</span></td>
<td class="popularthread" align="center"><span class="smallfont">$vbphrase[hasann_popular_thread]</span></td>
<td class="closedthread" align="center"><span class="smallfont">$vbphrase[hasann_closed_thread]</span></td>
<td class="announcement" align="center"><span class="smallfont">$vbphrase[hasann_announcement_thread]</span></td>
</tr>
</table>
</td>
</if>

and make this template edit 2 times
Quote:

Originally Posted by choccyclaire (Post 1481876)
Why didn't whoever creates the plugins for vbulletin post this? :p

I will try later. :)

what do you mean ??

TTG 04-03-2008 12:35 PM

Quote:

Originally Posted by Hasann (Post 1481878)
and make this template edit 2 times

Not quite sure where I need to add the template edits "2 times" !?

Hasann 04-03-2008 12:42 PM

Quote:

Originally Posted by TTG (Post 1481926)
Not quite sure where I need to add the template edits "2 times" !?

There are two times this code in forumdisplay template
in FORUMDISPLAY template find

HTML Code:

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
add this code above

HTML Code:

<if condition="$vbulletin->options['enable_thread_listing_color_legend_box'] == 1">
<td align="$stylevar[left]">
<table class="tborder" cellpadding="3" cellspacing="$stylevar[cellspacing]" border="0">
<tr>
<div class="smallfont" align="$stylevar[left]"><strong>$vbphrase[hasann_color_legend]</strong>:</div>
<td class="newpost" align="center"><span class="smallfont">$vbphrase[hasann_new_post]</span></td>
<td class="stickythread" align="center"><span class="smallfont">$vbphrase[hasann_sticky_thread]</span></td>
<td class="pollthread" align="center"><span class="smallfont">$vbphrase[hasann_poll_thread]</span></td>
<td class="postedthread" align="center"><span class="smallfont">$vbphrase[hasann_posted_thread]</span></td>
<td class="popularthread" align="center"><span class="smallfont">$vbphrase[hasann_popular_thread]</span></td>
<td class="closedthread" align="center"><span class="smallfont">$vbphrase[hasann_closed_thread]</span></td>
<td class="announcement" align="center"><span class="smallfont">$vbphrase[hasann_announcement_thread]</span></td>
</tr>
</table>
</td>
</if>


TTG 04-03-2008 12:50 PM

Quote:

Originally Posted by Hasann (Post 1481939)
There are two times this code in forumdisplay template
in FORUMDISPLAY template find

That's what I thought but the code :-

Code:

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
only appears once in my forumdisplay template.
I also noticed that if I re-add the template "FORUMDISPLAY_BGCOLORS" .. the above code only appears once ?

If I add the additional code above the above listed code line in forumdisplay, I get a blank page when trying to access any forum !?

macc 04-03-2008 02:03 PM

hello!

how to delete forumdisplay_bgcolors template (mean in admin cp)?

reg

macc

FleaBag 04-03-2008 08:01 PM

Great hack Hasann. Thank you.

Teşekkür ederim!

Hasann 04-03-2008 08:07 PM

Quote:

Originally Posted by TTG (Post 1481948)
That's what I thought but the code :-

Code:

<if condition="$pagenav"><td align="$stylevar[right]">$pagenav</td></if>
only appears once in my forumdisplay template.
I also noticed that if I re-add the template "FORUMDISPLAY_BGCOLORS" .. the above code only appears once ?

If I add the additional code above the above listed code line in forumdisplay, I get a blank page when trying to access any forum !?

I will fix all bugs until tomorrow and release the new version
Quote:

Originally Posted by macc (Post 1482003)
hello!

how to delete forumdisplay_bgcolors template (mean in admin cp)?

reg

macc

that is in your admincp -> styles manager
Quote:

Originally Posted by FleaBag (Post 1482265)
Great hack Hasann. Thank you.

Teşekk?r ederim!

vauww matthew where you can so good turkish :p

macc 04-03-2008 08:47 PM

hello!

i know that is in styles manager in admin cp ... but how to delete??


reg

macc

Hasann 04-03-2008 08:53 PM

Quote:

Originally Posted by macc (Post 1482300)
hello!

i know that is in styles manager in admin cp ... but how to delete??


reg

macc

wait until tomorrow comes up the new version


All times are GMT. The time now is 08:52 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.01327 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
  • (2)bbcode_code_printable
  • (4)bbcode_html_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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