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)

Sworm 04-10-2008 03:52 PM

This mod don't work on Vbulletin 3.7RC2!

Tom_S 04-11-2008 09:10 AM

It isn't working for me on 3.7RC1 Hmm...I went over and over it and it is installed correctly. I will give it another try later.

codershark 04-11-2008 09:14 AM

bad coded .....

Tom_S 04-12-2008 10:23 PM

I went back through it 3 more times and it is installed correctly and it does not work with my 3.7.0 RC1

EDIT:
My mistake. It does work. I missed the part of each member evidently has to turn this option on for themselves which does not make any sense. That should be an admin option. This mod makes far too much work for the admin to get it to function.

Tom_S 04-12-2008 10:51 PM

That sounded completely ungrateful and I did not intend for it too Hasann. It is an excellent mod. It is just my opinion that for ease of use those things could be considered.

Thank you ever so much for all of your hard work on all the mods you have made as I find everything you do very useful and I appreciate your work very much. :)

Hasann 04-12-2008 11:05 PM

Quote:

Originally Posted by Sworm (Post 1487567)
This mod don't work on Vbulletin 3.7RC2!

Quote:

Originally Posted by Tom_S (Post 1488120)
It isn't working for me on 3.7RC1 Hmm...I went over and over it and it is installed correctly. I will give it another try later.

Quote:

Originally Posted by codershark (Post 1488121)
bad coded .....

Quote:

Originally Posted by Tom_S (Post 1489381)
That sounded completely ungrateful and I did not intend for it too Hasann. It is an excellent mod. It is just my opinion that for ease of use those things could be considered.

Thank you ever so much for all of your hard work on all the mods you have made as I find everything you do very useful and I appreciate your work very much. :)

don't judge too quickly :(
it does work if you make all admincp settings correctly
anyway thank you for your opinion Tom_S :)

Tom_S 04-13-2008 03:24 AM

It would be better in my opinion if it was defaulted to already have it so users were seeing the settings and if they did not want them they had to shut them off instead of turning them on.

Also the settings in each forum already defaulted to being used turned on instead of having to go in to each one and turn it on it would be easier to go into the ones we didn't want them in and turn them off. Less time consuming that way.

The same for each usergroup. All on.

If everything was defaulted to being already on it just would be much easier to turn off what was not needed than to go and turn on everything that you do want on.

Just a thought ;)

flipstyle 04-14-2008 02:39 PM

Hi Hasann,

When I was trying to figure it out to get it all running it took me a while to see the colors. Since I have a lot of categories Tom_S has a good point about having everything turned on by default. It would take me hours just to have all the forum categories & subforms turned on. Also Is there anyway to have the user color legend (in the usercp edit options) set to yes by default so everyone has it on. If you know any way how to turn everything to default -yes- please let me know that would really help out. Thanks.

I really like your plugin. Good work I appreciate it.
(I'm using it on vBulletin 3.7 RC3 and works with no problems)

flipstyle 04-15-2008 04:54 PM

Hey Tom_S if you want to change all the settings to Yes.
One method is to use phpmyadmin and run a query and set everything to 1.

Just an Idea for a future version. Users should be able to choose their own colors that they want for the thread in their edit options.

Tom_S 04-15-2008 09:21 PM

I appreciate that and know I can do that but I would rather Hasann did that with the mod as with any mod I am sure there will be updates in the future and I would hate to have to continue to fix it as I know my old mind will forget. ;)

I may do that though if it isn't done however. Thanks again. :)

MuGiSouL 04-16-2008 02:06 PM

thnx,installed hasann kardeşim

TTG 04-17-2008 02:43 PM

Is this working correctly now without messing up the footer template ?

KURTZ 04-17-2008 03:46 PM

i'm waiting some new features ... :P

baymortgage99 04-20-2008 06:04 AM

Colored stickys

I love it

flipstyle 05-02-2008 03:37 AM

When I upgraded to vB 3.7 Gold I got this message. (I only had this plugin running.)

Your submission could not be processed because a security token was missing.
(You will see this message when you try to use any of the moderation drop down options, for example detele thread.)

To fix this problem you have to edit the xml file.
Upload and then overwrite.

Find:
Code:

<form action="inlinemod.php?forumid=$forumid" method="post" id="inlinemodform">
Add this below it:
Code:

<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
I did some testing so far its working.
The only thing I noticed that the plugin did change was the order of the moderation drop down options. Theres nothing wrong with that just had to let you guys know.

Hasann do yo know how I can set a color for moved threads? (it keeps showing up as the poll thread color)

baymortgage99 05-02-2008 11:08 AM

Quote:

Originally Posted by Tom_S (Post 1489366)
I missed the part of each member evidently has to turn this option on for themselves which does not make any sense. That should be an admin option. This mod makes far too much work for the admin to get it to function.


Where does the user have the option to turn this on?

I installed the hack but dont see in the admin control panel or where registered users can turn this on ???:confused:

baymortgage99 05-02-2008 11:35 AM

Not sure I got this one properly installed or if Im misisng something on the settings

I set it per forum, per user group

Anything else? Am I maybe missing?

I dont see this working

flipstyle 05-02-2008 03:54 PM

The last step to be able to see if is to turn it on in your user cp.

You have to goto Usercp > Edit Options - Thread Listing Color Status - Set to Yes

All the settings defaults are set to No.
So that means for new registrations and existing accounts will all be set to the option no by default.

I made a post a while ago about changing the settings all at once:
https://vborg.vbsupport.ru/showpost....8&postcount=49

baymortgage99 05-03-2008 09:30 PM

Quote:

Originally Posted by flipstyle (Post 1505878)
The last step to be able to see if is to turn it on in your user cp.

You have to goto Usercp > Edit Options - Thread Listing Color Status - Set to Yes

All the settings defaults are set to No.
So that means for new registrations and existing accounts will all be set to the option no by default.

I made a post a while ago about changing the settings all at once:
https://vborg.vbsupport.ru/showpost....8&postcount=49

Your right , thats it ! Is there a way to have the default set as "YES" ?

wolfstream 05-16-2008 11:53 PM

While in theory this is good, it's not good, simply because of the number of "hoops" that one has to jump through to get it working, and, well, the fact that it just DOESN'T work on 3.7 at all.

Why should an admin have to edit 50+ forums to get this working?
Why should an admin have to edit hundreds of users to get this working?
Why should an admin have to edit numerous usergroups to get this working?

In theory, a good idea. In practice, not so much.

Lindsey 05-18-2008 03:18 AM

Stable? Works on Stable?

flipstyle 05-20-2008 11:52 PM

Quote:

Originally Posted by wolfstream (Post 1522180)
While in theory this is good, it's not good, simply because of the number of "hoops" that one has to jump through to get it working, and, well, the fact that it just DOESN'T work on 3.7 at all.

Why should an admin have to edit 50+ forums to get this working?
Why should an admin have to edit hundreds of users to get this working?
Why should an admin have to edit numerous usergroups to get this working?

In theory, a good idea. In practice, not so much.

You have a good point. I hope the coder will look into it sometime soon and some of my ideas that I posted before.

xorex 05-28-2008 04:03 AM

Great hack !! thanx

I have one problem:

Does not work Thread Thumbnail where it is used Listing Background Colors Any suggestion?

goddess_dix 05-28-2008 11:21 PM

Quote:

Originally Posted by Lindsey (Post 1523099)
Stable? Works on Stable?

security tokens are missing for mod dropdowns, so i wouldn't install on stable unless you want to compare it to the current template and add them manually.

Aurore 05-31-2008 03:51 AM

Nice but needs improvements :)

Mike-D 05-31-2008 09:16 AM

Quote:

Originally Posted by wolfstream (Post 1522180)
While in theory this is good, it's not good, simply because of the number of "hoops" that one has to jump through to get it working, and, well, the fact that it just DOESN'T work on 3.7 at all.

Exactly! Try using Threadbit Coloring Based on Thread Status. With that Hack I've never got any problems. Especially not in vB 3.7. This hack runs strong without any problems till today :)

PGAmerica 06-15-2008 10:04 PM

Well, it seems that all are agreed that we need to allow for the users to have this option set to "yes" be default. And there are ways to do an sql query to set all current users to "yes", but this does not solve the problem with new users.

OK, I figured it out. If you want to make all the options set to "yes" by default. That is,
  • Enable for this forum category thread listing background colors? (Forum Manager)
  • Can this Usergroup Use the Forumdisplay Thread Listing Background Color? (Usergroup Manager)
  • Thread Listing Background Color Legend (UserCP)
All you have to do is the following:
Step 1:
Edit the "product-thread_listing_bgcolors_english.xml" file
Step 2:
Look for
Code:

$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '0 NOT NULL"); 
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "usergroup ADD COLUMN bgcolorspermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");

and replace it with
Code:

$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL");
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL"); 
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "usergroup ADD COLUMN bgcolorspermissions INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL");

Step 3:
Upload the new product via the "Manage Products" link in your ACP
Step 4:
Enter the "Usergroup Manager" and edit any of the usergroups. This will rebuild the BitFields.

If you have already done this, just uninstall it, make the changes and then reinstall it.

It just worked for me perfectly.

Captain Tycoon 06-16-2008 03:24 PM

Is it possible to make it so that guests can also see the background colours on the threads without having to register?

Including, is it possible so members won't have the choice whether they can or cant see the background colours on the threads.

PGAmerica 06-16-2008 05:29 PM

Goto the usergrop manager and edit the "Unregistered" group. It is at the bottom

Captain Tycoon 06-17-2008 08:07 AM

Quote:

Originally Posted by PGAmerica (Post 1550998)
Goto the usergrop manager and edit the "Unregistered" group. It is at the bottom

It doesnt work :( Does it work for you?
Quote:

Including, is it possible so members won't have the choice whether they can or cant see the background colours on the threads.
How about this? I want the option to be forced so they can't choose not to see the thread listing background colours.

beduino 06-21-2008 02:37 PM

hello,
a question:
how we can change the default options AFTER install?

a suggestion:
Include in readme how we can change forumdisplay to build a forumdisplay_bgcolors. A lot of people have forumdisplay already changed and maybe is useful some instruction how we can change the template.

But - tks a lot :D
joao barroca
aka beduino

puertoblack2003 08-01-2008 03:51 PM

Quote:

Originally Posted by PGAmerica (Post 1550337)
Well, it seems that all are agreed that we need to allow for the users to have this option set to "yes" be default. And there are ways to do an sql query to set all current users to "yes", but this does not solve the problem with new users.

OK, I figured it out. If you want to make all the options set to "yes" by default. That is,
  • Enable for this forum category thread listing background colors? (Forum Manager)
  • Can this Usergroup Use the Forumdisplay Thread Listing Background Color? (Usergroup Manager)
  • Thread Listing Background Color Legend (UserCP)
All you have to do is the following:
Step 1:
Edit the "product-thread_listing_bgcolors_english.xml" file
Step 2:
Look for
Code:

$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '0 NOT NULL"); 
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "usergroup ADD COLUMN bgcolorspermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL");

and replace it with
Code:

$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL");
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user ADD bgcolors INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL"); 
$vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "usergroup ADD COLUMN bgcolorspermissions INT( 10 ) UNSIGNED DEFAULT '1' NOT NULL");

Step 3:
Upload the new product via the "Manage Products" link in your ACP
Step 4:
Enter the "Usergroup Manager" and edit any of the usergroups. This will rebuild the BitFields.

If you have already done this, just uninstall it, make the changes and then reinstall it.

It just worked for me perfectly.



thanks that worked

puertoblack2003 08-01-2008 04:22 PM

had security token issues but fixed it from this post #55

thecricketzone 08-04-2008 08:13 PM

^agree its a nice hack but its a hassle to get it to work. i think ive followed every step but it still doesnt show up and there should be a way to set this for all users from ACP in any single usergroup. So I am uninstalling :(

mcyates 08-04-2008 08:21 PM

Not showing for me either.

Deadly Assassin 08-09-2008 08:02 AM

Uninstalled, could not get this to sit right. It keeps messing up my footer etc.

Nice idea though

akonze 08-10-2008 08:35 AM

This is a very interesting hack. I have two questions:

1. Is it possible to only color a some thread? Lets say only sticky and new threads, or do I always have to color all threads?

2. I saw the settings in the user cp. Can it be turned off, that the user can switch this on/off on his own?

Zimbru 08-13-2008 02:29 PM

Quote:

Originally Posted by akonze (Post 1595286)
This is a very interesting hack. I have two questions:

1. Is it possible to only color a some thread? Lets say only sticky and new threads, or do I always have to color all threads?

2. I saw the settings in the user cp. Can it be turned off, that the user can switch this on/off on his own?

That will be very nice.
Im looking for something wich change colors only for new posts.

There is one only for sticky here: https://vborg.vbsupport.ru/showthrea...60#post1596860

If anyone can help me with newposts , let me know please. Thanks

ssslippy 08-16-2008 09:39 PM

I have fixed the security and footer issue waiting for authors permission to post a fix in this thread. Also updated the other code in the moderation drop down as it was wrong.

Basically if anyone wants to fix the footer issue the whole area between
<!-- controls below thread list --> and <!-- / controls below thread list --> should be copy and pasted and then reinsert the code where ever you wish.
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>

<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>


ssslippy 08-17-2008 02:34 PM

Here is the fixed version with the security update. Please note I had to relocate the bottom legend to down a block to avoid the footer issue.


All times are GMT. The time now is 01:33 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.01495 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
  • (7)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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