Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Blog Customization Details »»
Blog Customization
Version: 1.0.2, by Kentaurus Kentaurus is offline
Developer Last Online: Jul 2014 Show Printable Version Email this Page

Category: vBulletin Blog - Version: 3.6.8 Rating:
Released: 11-10-2007 Last Update: 11-18-2007 Installs: 60
DB Changes Uses Plugins Template Edits
Re-useable Code Additional Files Translations  
No support by the author.

Tested with vb 3.6.8 and blog 1.0.2

*Requires the Vbulletin Blog product.

This hack extends the blog functionality by letting the users manage, in a limited way, their "styles".
They'll be able to choose a background color, color for the entries and the titles, and reorder the panels in the blog in any way they want.

Instead of all looking the same, with this hack the users have LIMITED control over their blogs.

Key functionality
  • User may create "styles", as many as they want. A style consist in a background, header, second header, first and second alternating color
  • User can select a style for his blog, the style is used immediately
  • User can reorder the position of: "user info", "search", "calendar", "options", "last comments" and "categories"
Installation Instructions

See the included readme.txt

Changelog

1.0.2 (Upgrade instructions: reupload includes/functions_blog_customize.php)
  • Bug fix: Guests couldn't see the custom styles
  • Bug fix: Only the owner could see his style, visitors and other users saw the default
1.0.1 (Upgrade instructions: reupload the files in the "upload" directory and reimport the xml for the product)
  • Fixed bug where, when "transparent" is selected, or an empty color, the message "The color is not valid" is displayed to the user
  • Fixed a bug where, the icon for transparent and switch wasn't shown
  • When the color is not valid, the detailed color that was not valid shown (this is for security, so your css only contains valid colors)
1.0.0
  • First release
Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

Show Your Support

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

Comments
  #22  
Old 11-14-2007, 04:19 AM
ngocha85 ngocha85 is offline
 
Join Date: Jan 2006
Location: Hanoi
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="https://vborg.vbsupport.ru/vborg_miscactions.php?do=nominate&threadid=162470& type=1" target="_blank">Nominate for MOTM</a>!
Reply With Quote
  #23  
Old 11-14-2007, 12:21 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by skariko View Post
I've installed it.. i follow the instruction but i can't find on my template this part:

We need to modify some styles, for example we'll change instances of "class='tcat'" to "class='blogtcat'". To do this:

Edit the templates:
BLOG, blog_comment, blog_entry_without_userinfo, blog_show_entry, blog_sidebar_user
and replace them with the ones included with this hack, inside the "templates" directory

I try to go here:
http://www.mywebsite/forum/admincp/t....php?do=modify

And search in the templates.. but I have no the instances "CLASS='TCAT'"..

That was just an example to describe the type of changes that should be expected in the templates, I have included the actual new templates in the zip, as text files, you just need to open "BLOG.txt" of the zip, cut and paste all the contents on your "BLOG" template, then open "blog_comment.txt" of the zip, cut and paste all the contents on your "blog_comment" template of your forum.... and so on.

I include the templates instead of automatically replacing them, because some people, me included, like to know exactly what was changed, fast setup is just copy-paste the templates, but you could also compare side-to-side each one of the templates I mentioned and compare the changes.
Reply With Quote
  #24  
Old 11-14-2007, 12:23 PM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll test this. But I can't reproduce it on my board. I always test with firefox and a clean installation, tough, I'll try with more setups. You get that when any of the colors selected is not something that was expected.... um... could it be that the hack doesn't like a "transparent" color? I'll check and fix the bug.
Reply With Quote
  #25  
Old 11-14-2007, 01:02 PM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Keeps having the error of the colour not being valid, regardless of choice. Can't you just remove the validation thing for the colours altogether, seeing as it's their choice what things like contrast are?
Reply With Quote
  #26  
Old 11-14-2007, 01:17 PM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Uninstalled, files removed, link removed and two templates reverted until this is fixed.

P.S. Can you in future make sure your uninstall instructions are better and tell you how to revert the templates?
Reply With Quote
  #27  
Old 11-14-2007, 01:22 PM
vien vien is offline
 
Join Date: Nov 2005
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would be nice if users could use an image for headers or backgrounds!

Thanks.
Reply With Quote
  #28  
Old 11-14-2007, 02:36 PM
hollosch's Avatar
hollosch hollosch is offline
 
Join Date: Nov 2005
Location: Germany
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice hack,
but how can i realize that other users or guests have the pleasure to see the customized template??? only for the user himself its boring...

thx
Reply With Quote
  #29  
Old 11-15-2007, 07:26 AM
skariko skariko is offline
 
Join Date: Apr 2006
Location: Milano (Italy)
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kentaurus View Post
That was just an example to describe the type of changes that should be expected in the templates, I have included the actual new templates in the zip, as text files, you just need to open "BLOG.txt" of the zip, cut and paste all the contents on your "BLOG" template, then open "blog_comment.txt" of the zip, cut and paste all the contents on your "blog_comment" template of your forum.... and so on.

I include the templates instead of automatically replacing them, because some people, me included, like to know exactly what was changed, fast setup is just copy-paste the templates, but you could also compare side-to-side each one of the templates I mentioned and compare the changes.
Thank you
But I have another problem.. if I try to customize my blog it says:

"The selected color is not valid".

EDIT:
it says "the selected color is not valid" only if I set a transparent color.
Reply With Quote
  #30  
Old 11-19-2007, 12:10 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hollosch View Post
Nice hack,
but how can i realize that other users or guests have the pleasure to see the customized template??? only for the user himself its boring...

thx
The behaviour has been changed to make more sense.
Everybody sees the blog like the user has customized it, including guests and other users. The .zip has been updated for this.
Reply With Quote
  #31  
Old 11-19-2007, 12:48 AM
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just fixed in 1.0.1. Thanks for your input.
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 04:54 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.12194 seconds
  • Memory Usage 2,310KB
  • 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
  • (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
  • (4)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