Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Stylename (and Stylecounter) Modification v1.0.3.1 Details »»
Stylename (and Stylecounter) Modification v1.0.3.1
Version: 1.0.3.1, by Hellspire Hellspire is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 05-07-2005 Last Update: 05-09-2005 Installs: 19
DB Changes
 
No support by the author.

Note: This module has been changed to 1.0.3 since these were basically bugfixes.

Greetings, these are simple hacks made by me that show what stylename a user is using. Stylecounter module has been removed while I revise it to do a few things you guys requested!

The stylename hack adds 0 queries and will adjust for:
- Child and parent styles, including 'use forum default styles'
- Will account for the current user (the one in the $bbuserinfo array) and which temp style he/she is using.
- Same display orders (display order doesn't even matter...)

Thanks go out to gnu- and cinq. The former for pointing out some odd little mistakes I made in cyphering the stylechoosercache with child and parent styles that I ignored (sorry!) and the latter for contributing a screenshot.

I'm sorry for the hassle I caused some of you who installed, please know that when I did so, I was under duress from other issues and I did not account for a few things that I thought I had. Makes me look like a fool, sure... but since I corrected this basically.... a day, I don't expect to be treated harshly. (Be kind!)

Update: v1.0.3.1
- Added optional instructions on how to make QuickStyleChanges permanent for logged-in users.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 05-09-2005, 04:11 PM
Hellspire's Avatar
Hellspire Hellspire is offline
 
Join Date: Oct 2003
Location: NY, USA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Heh, I have no idea what I was thinking before -.-
Reply With Quote
  #43  
Old 05-10-2005, 11:37 AM
gnu-'s Avatar
gnu- gnu- is offline
 
Join Date: Apr 2005
Location: Finland
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wondered that are you ever going to implement that everyone would see everyones quickly changed styles too

Just because that, that you see your own style doesn't help so much
Reply With Quote
  #44  
Old 05-10-2005, 11:38 AM
Hellspire's Avatar
Hellspire Hellspire is offline
 
Join Date: Oct 2003
Location: NY, USA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was thinking about it. Perhaps later this week!
Reply With Quote
  #45  
Old 05-11-2005, 02:34 PM
gnu-'s Avatar
gnu- gnu- is offline
 
Join Date: Apr 2005
Location: Finland
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick Changer works like a charm, just what I was looking for, thank you
Reply With Quote
  #46  
Old 05-11-2005, 03:23 PM
Hellspire's Avatar
Hellspire Hellspire is offline
 
Join Date: Oct 2003
Location: NY, USA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

GNU- (or anyone for that matter) I am at work right now and really can't check, so if you have time check this out for me:

It occurred to me that forum specific style overrides may simply update $bbuserinfo['styleid'] in which case, that would be updated as the main style.

Lacking the means to check, I can't really say that it does this, and I believe it doesn't. Meh.
Reply With Quote
  #47  
Old 05-12-2005, 02:44 AM
angelicGrace angelicGrace is offline
 
Join Date: Jun 2004
Location: Up in the clouds
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i have vb3.0.7. I installed both the quick style perminat and the style in postbit completely par directions to the letter.

Quick style works perfectly! Great job.

The style in postbit doesn't work just right. It shows the phrase Style in the postbit, but not the style the person is using. It is totaly blank. I have my styles set up as one parent (a default style) the others are children of it. They all have unquie style id numbers and names.

Any clue why it isn't showing a style for anyone?

Yeah I am a total novice at installing hacks, so please feel free to tell me if it is something stupid I am looking over.
Reply With Quote
  #48  
Old 05-12-2005, 02:57 AM
Hellspire's Avatar
Hellspire Hellspire is offline
 
Join Date: Oct 2003
Location: NY, USA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You probably pasted something in the wrong space, most likely in showpost.php or showthread.php. Most likely what is happening is that you are setting the value of post['def_style'] AFTER it has already been sent. Please double check that you have placed everything in the proper spot.
Reply With Quote
  #49  
Old 05-12-2005, 02:02 PM
angelicGrace angelicGrace is offline
 
Join Date: Jun 2004
Location: Up in the clouds
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks. I see my problem. I added something after instead of before a particular line of code. Thanks.
Reply With Quote
  #50  
Old 05-12-2005, 05:25 PM
Acers's Avatar
Acers Acers is offline
 
Join Date: Feb 2005
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very very nice....this is just what was needed. get job m8.

can you incorporate something like style stats for admins where admin can see what style the people are using on forums.(from admincp) for one thing it may help to scrap some defunct themes. if possible....
Reply With Quote
  #51  
Old 05-12-2005, 06:02 PM
Hellspire's Avatar
Hellspire Hellspire is offline
 
Join Date: Oct 2003
Location: NY, USA
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps next week when I have time. Since you are an installee, you will receive an update on these hacks if I decide to do one.
Reply With Quote
Reply


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 06:17 AM.


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.04323 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete