vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - [vBMods] Moderated Posts Background Colour (https://vborg.vbsupport.ru/showthread.php?t=315361)

Black Snow 11-10-2014 10:00 PM

[vBMods] Moderated Posts Background Colour
 
This little mod will change the background color of your moderated and/or deleted threads/posts to make it easy to spot by you and your Mods.

It is a simple installation, just import the product XML, vbm_mod_post_background.xml


You can edit the options under the settings, [vBMods] Threads/Posts Background Color

Complete Feature List


  • Option to disable the mod completely.
  • Option to disable moderated posts background colour
  • Option to disable deleted posts background colour
  • Option to disable deleted threads background colour


Frequently Asked Questions.

Q. Why do I need such a thing, you ask?

A. Some admins might like to have this nice little addition to their site.

Q. Help, why is my moderated posts background yellow?

A. Change the stylevar in your styles. It's the stylevar, vbm_mod_post_background_color found under the group, vBModsStylevars.

Q.
Help, why is my deleted posts background yellow?

A. Change the stylevar in your styles. It's the stylevar, vbm_mod_deleted_post_background_color found under the group, vBModsStylevars.

Q
. Help, why is my deleted posts background yellow?

A. Change the stylevar in your styles. It's the stylevar, vbm_mod_deleted_thread_background_color found under the group, vBModsStylevars.

-------------------------------------------------------------------------------------------

Please remember to click the, "Mark as Installed" button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin-mods.co.uk will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

* History (Changelog) *
-------------------------
v1.3.1 (19 April, 2015)
- Fix bug with postbit not working
v1.3.0 (17 April, 2015)
- Add feature: Works on Postbit & Postbit_Legacy
v1.2.0 (13 November, 2014)
- Add feature: Deleted threads background colour.
- Add option to enable/disable deleted threads background colour.
- Add stylevar for deleted posts background colour.
- Add stylevar for deleted threads background colour.
v1.1.0 (13 November, 2014)
- Add feature: Deleted posts background colour.
- Add option to enable/disable moderated posts background colour.
- Add option to enable/disable deleted posts background colour.
v1.0.1 (12 November, 2014)
- Fix bug with the cache plugin.
v1.0.0 (3 October, 2014)
- Initial public release.

Justinphx 11-11-2014 05:52 PM

Thanks. But, I installed this on v4.2.2 and got a parse error on every post.

/forum/includes/class_bootstrap.php(1419) : eval()'d code on line 334

Black Snow 11-12-2014 07:00 AM

Quote:

Originally Posted by Justinphx (Post 2522306)
Thanks. But, I installed this on v4.2.2 and got a parse error on every post.

/forum/includes/class_bootstrap.php(1419) : eval()'d code on line 334

I also run vB 4.2.2 and have no issues. But I do have errors disabled via config.php. I will look into it.

Black Snow 11-12-2014 07:09 AM

Update
v1.0.1 (12 November, 2014)
- Fix bug with the cache plugin.

Justinphx 11-12-2014 11:19 AM

Thanks. Installed the updated version and works like a charm.

Shogo 11-12-2014 08:42 PM

Is it possible to make the same to "deleted post" ?
My moderators use a lot the "Delete message".

Thank you for this mod!

Black Snow 11-13-2014 06:38 AM

Quote:

Originally Posted by Shogo (Post 2522440)
Is it possible to make the same to "deleted post" ?
My moderators use a lot the "Delete message".

Thank you for this mod!

I'm sure it can be. I will look into it and get back to you.

Black Snow 11-13-2014 03:11 PM

v1.1.0 (13 November, 2014)
- Add feature: Deleted posts background colour.
- Add option to enable/disable moderated posts background colour.
- Add option to enable/disable deleted posts background colour.

Gecuba 11-14-2014 10:39 AM

Excellent idea - thank you! Tagged, will install soon.
I've been waiting for such feature for several years.

Is it possible to change background color for moderated and deleted posts?

Black Snow 11-14-2014 11:37 AM

Quote:

Originally Posted by Gecuba (Post 2522672)
Excellent idea - thank you! Tagged, will install soon.
I've been waiting for such feature for several years.

Is it possible to change background color for moderated and deleted posts?

You are very welcome. The mod description has some Q&A's.

Q. Help, why is my moderated posts background yellow?

A. Change the stylevar in your styles. It's the stylevar, vbm_mod_post_background_color found under the group, vBModsStylevars.

Q. Help, why is my deleted posts background yellow?

A. It's the stylevar, vbm_mod_post_background_color found under the group, vBModsStylevars. It uses the same background colour stylevar as the moderated posts to make things easier.

I could also add a new stylevar so the colour for both is different if this is a requested feature...

Shogo 11-14-2014 04:22 PM

Hi!

Great for deleted post... but (yes i ask a lot :p)
That's not working for 1st deleted post.

I don't know how to explain it but when you delete a whole thread, the color is not changing.

So is it possible for "Delete thread - soft delete"?

Anyway... you do a great work!

BR

Black Snow 11-14-2014 05:34 PM

Quote:

Originally Posted by Shogo (Post 2522701)
Hi!

Great for deleted post... but (yes i ask a lot :p)
That's not working for 1st deleted post.

I don't know how to explain it but when you delete a whole thread, the color is not changing.

So is it possible for "Delete thread - soft delete"?

Anyway... you do a great work!

BR

Which page are you viewing the deleted thread on? This mod only works on the "showthread" page and not the "forumdisplay" page. I am sure I could get this working to display on the forumdisplay page too. Is this what you mean?

Shogo 11-14-2014 06:13 PM

Ok so when you are in a thread and you want to delete the whole thread...

You go on :
Administrative -> Delete thread -> 'Soft Delete'

When a moderator go back in the thread (example : via a report post) he doesn't see that the thread is already deleted or not.
I tought your mod made the 1st post colored so my moderators can know if an other soft deleted the thread.

So that's not in forumdisplay coz in forum display there is already a grey color and a "no entry sign"

The intersting for my moderators is a color or a sign in the first post of a soft deleted thread.

http://www.foudeconcours.com/document/exa.jpg

(sorry for my bad english :p)

Black Snow 11-14-2014 06:56 PM

v1.2.0 (13 November, 2014)
- Add feature: Deleted threads background colour.
- Add option to enable/disable deleted threads background colour.
- Add stylevar for deleted posts background colour.
- Add stylevar for deleted threads background colour.

Shogo 11-14-2014 10:32 PM

1.2.0 change the color of the forumdisplay color and not inside the thread

Shogo 11-15-2014 07:44 AM

I found a bug : the search resuslts are in yellow now!

Shogo 11-20-2014 10:53 AM

So

Here is a bug in the 1.2.0 : the search results are colored

Printscreen :
https://vborg.vbsupport.ru/



And the deleted thread (soft delete) are still not colored INSIDE the thread

https://vborg.vbsupport.ru/

Black Snow 11-21-2014 06:36 AM

Quote:

Originally Posted by Shogo (Post 2523480)
So

Here is a bug in the 1.2.0 : the search results are colored

Printscreen :
http://www.foudeconcours.com/document/plop2.jpg



And the deleted thread (soft delete) are still not colored INSIDE the thread

http://www.foudeconcours.com/document/plop.jpg

I have fixed the bug with the search results being coloured. Thanks for pointing it out. When the thread is deleted, it does not add anything to the postbit_legacy to check if the thread is deleted or not therefore, until I have time to write a check to see if the thread is deleted, the posts inside a deleted thread will not be coloured.

Default vB doesn't add colour to a deleted threads posts either.

My Hattiesburg 04-16-2015 08:58 PM

I installed this on my test site and although deleted posts show in the proper color, moderated posts do not. I'm running 4.2.2.

Does this work on postbit and postbit_legacy, or does the type make any difference? I'm using postbit.

Black Snow 04-17-2015 03:51 AM

Quote:

Originally Posted by My Hattiesburg (Post 2543274)
I installed this on my test site and although deleted posts show in the proper color, moderated posts do not. I'm running 4.2.2.

Does this work on postbit and postbit_legacy, or does the type make any difference? I'm using postbit.

This was done using postbit_legacy. I can update it to include postbit too if you wish.

ForceHSS 04-17-2015 11:49 AM

Quote:

Originally Posted by Black Snow (Post 2543306)
This was done using postbit_legacy. I can update it to include postbit too if you wish.

Please do

My Hattiesburg 04-17-2015 01:50 PM

Quote:

Originally Posted by Black Snow (Post 2543306)
This was done using postbit_legacy. I can update it to include postbit too if you wish.

Yes, thanks.

Black Snow 04-17-2015 03:32 PM

v1.3.0 (17 April, 2015)
- Add feature: Works on Postbit & Postbit_Legacy

ForceHSS 04-17-2015 03:33 PM

Thanks downloaded new version

My Hattiesburg 04-17-2015 05:03 PM

Thanks!

My Hattiesburg 04-17-2015 05:48 PM

I don't know if I'm doing something wrong but it's not working for me. Now even the deleted posts don't show in a different color whereas with 1.2 they did.

Black Snow 04-17-2015 08:57 PM

Quote:

Originally Posted by My Hattiesburg (Post 2543378)
I don't know if I'm doing something wrong but it's not working for me. Now even the deleted posts don't show in a different color whereas with 1.2 they did.

Have you set up the options? Works fine for me on postbit an legacy.

My Hattiesburg 04-18-2015 03:18 PM

Quote:

Originally Posted by Black Snow (Post 2543393)
Have you set up the options? Works fine for me on postbit an legacy.

I've tried everything I can think of. I can get deleted posts and deleted threads to show in color but not moderated posts.

Black Snow 04-18-2015 09:02 PM

Quote:

Originally Posted by My Hattiesburg (Post 2543445)
I've tried everything I can think of. I can get deleted posts and deleted threads to show in color but not moderated posts.

Try to uninstall the mod then reinstall a fresh version

My Hattiesburg 04-19-2015 04:47 PM

Quote:

Originally Posted by Black Snow (Post 2543475)
Try to uninstall the mod then reinstall a fresh version

Just tried that and still the same results - deleted posts and threads are colorized but not moderated posts.

Black Snow 04-19-2015 07:05 PM

Quote:

Originally Posted by My Hattiesburg (Post 2543539)
Just tried that and still the same results - deleted posts and threads are colorized but not moderated posts.

Could you send me a link to your forum along with login details so I could look for myself and fix the issue?

Black Snow 04-19-2015 08:08 PM

v1.3.1 (19 April, 2015)
- Fix bug with postbit not working

My Hattiesburg 04-19-2015 09:34 PM

Quote:

Originally Posted by Black Snow (Post 2543561)
v1.3.1 (19 April, 2015)
- Fix bug with postbit not working

The new version worked! Thanks!

Black Snow 04-19-2015 11:29 PM

Quote:

Originally Posted by My Hattiesburg (Post 2543565)
The new version worked! Thanks!

Glad to hear it!

Please remember to mark as installed.


All times are GMT. The time now is 09:45 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.04284 seconds
  • Memory Usage 1,816KB
  • 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
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (34)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete