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
Preview Style Hack [vB3] Details »»
Preview Style Hack [vB3]
Version: 1.00, by assassingod assassingod is offline
Developer Last Online: Jan 2023 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-31-2004 Last Update: Never Installs: 19
 
No support by the author.

Style Preview Hack

Coded by: assassingod

Description:
This gives your users an easier and more imformative way of changing styles.
It gives changing styles it's own page in the UserCP, which includes a
preview of the styles and a description. These can also be edited in the
Edit Settings for styles in the AdminCP

Show Your Support

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

Comments
  #12  
Old 02-01-2004, 02:06 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry all, I forgot to mention some Phrases to be added.
All who use this hack, add these phrases:
Code:
Type: Control Panel Global
Varname: styledescription
Text: Description
and
Code:
Type: Global
Varname: edit_style
Text: Edit Style
That should be it. Thanks all for the feedback too.

Socrate;
I'm not sure why the code isn't appearing for you - it's there on my version, RC3.

Mist;
Eh?

gmarik;
Could you explain more?
Reply With Quote
  #13  
Old 02-01-2004, 02:24 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just updated the txt file (updated to 1.1), all who download before now re-download.
Reply With Quote
  #14  
Old 02-01-2004, 05:16 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by assassingod
Socrate;
I'm not sure why the code isn't appearing for you - it's there on my version, RC3.
I does not include/understand why this line is not in my version RC3

but it is not serious, I have to adapt assassingod

On the other hand, the changes in the template should not be make in EACH template to be taken into account by the hack ?

but I hold has to say you cheer for this superb hack, I appreciate
Reply With Quote
  #15  
Old 02-02-2004, 01:27 AM
MGM MGM is offline
 
Join Date: Jan 2003
Location: Michigan
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice one assassingod! ill definetily install this one!

/me clicks install

MGM out
Reply With Quote
  #16  
Old 02-02-2004, 08:22 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I mean instead of offering a url to the image offer the ability to upload it directly to a specified folder (in options) or into the database
Reply With Quote
  #17  
Old 02-02-2004, 09:20 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Steve. I'm getting red 'x where the styles should preview in the user cp. I made the image/styles directory that you said to, by the way. Also, the vertical link bar is not showing the right alt colors when you see the edit styles link and after you click on the link, that whole menu turns a solid alt color.
Reply With Quote
  #18  
Old 02-02-2004, 10:35 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I got it partially figured out. You might want to add to to your instructions for dummies like me that you have to take a snapshot of your styles and upload them to the newly created styles directory.

Also, where do I add the navclass[styles] colors or get them to display right in the menu on the left?
Reply With Quote
  #19  
Old 02-02-2004, 01:02 PM
assassingod's Avatar
assassingod assassingod is offline
 
Join Date: Jul 2002
Posts: 3,337
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Boofo;
I'm glad you sorted some out, and i'll make the instructions clearer
I think I forgot to mention some more file edits so i'll investigate that

Mist;
Nice idea, i'll think about it

Socrate;
Quote:
On the other hand, the changes in the template should not be make in EACH template to be taken into account by the hack ?
What do you mean?

Thanks all who like this hack.
Reply With Quote
  #20  
Old 02-02-2004, 01:09 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, Steve, when I go into the Edit Styles area, the bottom style is always checked even though the top style is the one I picked. Shouldn't the radio button be on the style that you have set for yourself?
What file would this be in?

navclass
Reply With Quote
  #21  
Old 02-02-2004, 01:24 PM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mist
I mean instead of offering a url to the image offer the ability to upload it directly to a specified folder (in options) or into the database
great idea, although already a great hack, thank you very much
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 02:21 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.05064 seconds
  • Memory Usage 2,307KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_quote
  • (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