vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   vBulletin Blog - Blog Customization (https://vborg.vbsupport.ru/showthread.php?t=162470)

Kentaurus 11-10-2007 10:00 PM

Blog Customization
 
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.

compact123 11-11-2007 09:15 PM

Ohh very cool

thanksss

Silvio 11-11-2007 10:05 PM

very nice - good job i'll try it.

take care - thank you

ciao

yoyoyoyo 11-11-2007 10:42 PM

thanks much!

Here is a TMS (Template Modification System) XML file with all of the edits, for those that have TMS installed.

jasculs 11-11-2007 11:42 PM

How did you test it with vbulletin 3.6.4? I thought the blog would only work with 3.6.8.

Kentaurus 11-11-2007 11:58 PM

That's a typo. Changed to 3.6.8

edenx 11-12-2007 12:19 AM

Excellent mod !

Are new templates added? I want to have Adsense on user's blogs... could I put different color for this adsense blocks?

Thanks

edenx 11-12-2007 12:21 AM

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

Kentaurus 11-12-2007 12:37 AM

Quote:

Originally Posted by edenx (Post 1380709)
Excellent mod !

Are new templates added? I want to have Adsense on user's blogs... could I put different color for this adsense blocks?

Thanks



Yes, all the templates that start with blog_customize_* are from this hack. Instead of the user_sidebar template, everything was split into different templates. If want to put an adsense, then the BLOG template should be the better place, since then the add would appear almost everywhere in the blog.

The color of your adsense is controlled by google, and would be the same no matter how the user changes the color of his blog.

PoetJA-1975 11-12-2007 02:26 AM

Looks really nice = Thanx for the sharing ;)

Jacquii.


All times are GMT. The time now is 10:17 AM.

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.01071 seconds
  • Memory Usage 1,731KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete