Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
Colors For Usergroup In Forum Last Post Details »»
Colors For Usergroup In Forum Last Post
Version: 1.0.1, by NLP-er NLP-er is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 3.8.2 Rating:
Released: 07-16-2009 Last Update: 09-09-2009 Installs: 339
DB Changes Uses Plugins Auto-Templates
 
No support by the author.

You like colored usergroups? Looking for mods which add it in different paces? Like to have last post author colored in forum display?

So came and get it!
This mod shows usergroups HTML markup in forum last post author

Simple and Easy! Just install last release of product (see number at the end of filename)
No template modifications
And... please click Mark as Installed - thanks

Enjoy!

Version history:
1.0.1 Fixed issue for phrases (you don't need to update - it is for new installations only)
1.0.0 Mod released

Known Issues:
- When you change usergroup for user who made last post, or change usergroup markup, then it is not updated in view till new post arrives in forum. It means, that in case of such changes style visible in last post will be the old one. It is because it is cached, but only till new post arrives (then will be cached new value). I have it in TODO list, but because of performance issues probably I will leave it this way. Even when somebody notice it, it will disappear fast (assuming that people are writing on your forum )

Download Now

File Type: xml product-colgroupforforum100.xml (4.2 KB, 794 views)
File Type: xml product-colgroupforforum101.xml (4.2 KB, 1320 views)

Screenshots

File Type: jpg colorsforusergroupinforumdisplay-screen.jpg (114.6 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
bartek24m, sodasusu

Comments
  #52  
Old 08-11-2009, 09:52 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Leb View Post
Great job Installed

The colored names is only on Forum Home. I'm wondering if you could add colored names inside the forums.
It works inside forum for sub forums. For topics there is other mod - just use booth
https://vborg.vbsupport.ru/showthread.php?p=1850310

This mod colors everything without forums. My does the rest
Reply With Quote
  #53  
Old 08-11-2009, 09:55 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BillieJoe View Post
Is it possible that this hack will work in searchresults, too ?
I will work on that Just written in TODO list
Reply With Quote
  #54  
Old 08-12-2009, 01:58 PM
g0dfather1984 g0dfather1984 is offline
 
Join Date: May 2008
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NLP-er View Post
Not necessary. You see this is not a problem with mod functionality - this is problem with vB functionality. Thos mod has empty uninstallcode section - whatever bad happens during uninstall it happens because of vB code.
Well, I went to VB and they stated this is a mod problem.

I hope you can help us figure out how to get this uninstalled.
Reply With Quote
  #55  
Old 08-13-2009, 11:08 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NLP-er View Post
Thos mod has empty uninstallcode section
No it doesnt.

Code:
			<uninstallcode><![CDATA[
        $db->hide_errors();
        $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum DROP lastposter_displaygroupid");
        $db->show_errors();
			]]></uninstallcode>
Reply With Quote
  #56  
Old 08-14-2009, 06:07 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by g0dfather1984 View Post
Well, I went to VB and they stated this is a mod problem.

I hope you can help us figure out how to get this uninstalled.
Give me second
Reply With Quote
  #57  
Old 08-14-2009, 06:09 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
No it doesnt.

Code:
			<uninstallcode><![CDATA[
        $db->hide_errors();
        $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum DROP lastposter_displaygroupid");
        $db->show_errors();
			]]></uninstallcode>
Yes. My mistake and sorry for confusion - I looked to product file of my other mod. I will just work about this issue
Reply With Quote
  #58  
Old 08-14-2009, 06:22 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
No it doesnt.

Code:
			<uninstallcode><![CDATA[
        $db->hide_errors();
        $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "forum DROP lastposter_displaygroupid");
        $db->show_errors();
			]]></uninstallcode>

Ok I just made uninstall on my forum - everything works fine. So uninstall code is ok. Everything is ok on my forum.

I back to opinion that this is vB problem. Know that's not helping, but as you can see erroe message has nothing common with uninstall code. vB gets stupid with productid which is set in this mod. I have nothing to change on my side right now.

Really want to help, but error message shows not real data.

Try to install again with override option and then uninstall. Maybe this will help.

In the meantime - just disable.
Reply With Quote
  #59  
Old 08-14-2009, 09:56 PM
g0dfather1984 g0dfather1984 is offline
 
Join Date: May 2008
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the note I get when trying to overwrite it:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/global.php(238) : eval()'d code on line 1

And it still doesn't uninstall. Disabled for now, but I hope we can get this figured out.
Reply With Quote
  #60  
Old 08-15-2009, 01:43 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NLP-er View Post
Ok I just made uninstall on my forum - everything works fine. So uninstall code is ok. Everything is ok on my forum.
Can you shair the uninstall code ??
Reply With Quote
  #61  
Old 08-15-2009, 02:57 PM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by g0dfather1984 View Post
This is the note I get when trying to overwrite it:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/global.php(238) : eval()'d code on line 1

And it still doesn't uninstall. Disabled for now, but I hope we can get this figured out.
Also hope Sorry for trouble and weak support - it just works on my forum. Since I'm not able to reproduce it I'm also not albe to fix it. Assuming that is on my mod side. ANd I can made such assumption - just need a place where can work on it.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.15513 seconds
  • Memory Usage 2,355KB
  • Queries Executed 28 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (9)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete