The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Blog block instead of tab in user profile Details »» | |||||||||||||||||||||||||
Blog block instead of tab in user profile
Demo: http://www.letsgather.net/members/taragon.html Code:
---------------------------- blog_entry_profile REPLACE all with: ---------------------------- <div class="alt1"> <div class="smallfont" align="left"><a href="blog.php?$session[sessionurl]b=$blog[blogid]">$blog[title]</a> <span class="shade"><phrase 1="$blog[date]" 2="$blog[time]">$vbphrase[posted_date_at_time]</phrase></span></div> </div> ---------------------------- blog_member_block REPLACE all with: ---------------------------- <if condition="$block_data['latestentries']"> <div class="alt1 block_row"> $block_data[latestentries] </div> </if> <div class="<if condition="$block_data['latestentries']">alt2<else />alt1</if> smallfont block_row block_footer"> <a href="blog.php?$session[sessionurl]u=$prepared[userid]"><phrase 1="$prepared[username]">$vbphrase[view_xs_blog]</phrase></a> </div> ---------------------------- MEMBERINFO FIND: ---------------------------- $template_hook[profile_left_last] ---------------------------- CUT and paste after: ---------------------------- $blocks[groups] ---------------------------- Done! By moving the position of this, also all other mods/tabs will reposition this same way. I currently haven?t found a working solution for this yet. All the best, Cor Show Your Support
|
Comments |
#12
|
|||
|
|||
How would I get the recent blogs list for each user to show on their profile page? I have been trying to do this on 3.6 for such a long time. I want like the last 5 blogs to show on each users profile page and then a button to view all the rest of their blogs...
Have any ideas??? |
#13
|
|||
|
|||
I have the blog product as well and no blog block or tab showing in user profile - running vB 3.7 RC 2
|
#14
|
|||
|
|||
@ toucan42
I had this problem too, you need to apply 2 fixes. 1. Go into the Admin CP Plugins & Products -> Plugin Manager -> Admin: Process Featured Blog Entry admin_options_processing [Edit] Change Code: Code:
if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 1', '>=')) Code:
if (defined('YUI_VERSION')) Replace the contents with: Code: Code:
require_once(DIR . '/includes/class_profileblock_blog.php'); $blocklist['blog'] = array( 'class' => 'Blog', 'title' => $vbphrase['blog'], ); eval('$template_hook[\'memberinfo_css\'] .= "' . fetch_template('blog_member_css') . '";'); Change Code: Code:
if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 1', '<') AND $userinfo['bloguserid']) Code:
if (!defined('YUI_VERSION') AND $userinfo['bloguserid']) Change Code: Code:
if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 1', '>=')) Code:
if (defined('YUI_VERSION')) Open includes/blog_init.php and go down to the bottom. Replace PHP Code: PHP Code:
with PHP Code: PHP Code:
|
#15
|
|||
|
|||
Quote:
I have implemented those suggestions, still nothing displayed. I am running vB 3.7 RC 2 |
#16
|
|||
|
|||
Will this work with 3.6.8?
I am trying to get latest blogs on the members profiles of their latest blogs. Sort of how MySpace does it... Any suggestions |
#17
|
||||
|
||||
Quote:
|
#18
|
||||
|
||||
very nice mod!
|
#19
|
|||
|
|||
installed
Thanks! |
#20
|
|||
|
|||
Hi there...
I saw you forum and i liked the "Blogs" link drop down with blogs directory, blog search and so on. How did you do that?? Can you help me with the code for that please? Thanks in advance and best regards from Portugal |
#21
|
||||
|
||||
Quote:
Thank you for your reply! I hope this will be what you were looking for https://vborg.vbsupport.ru/showthread.php?t=184631 If you have installed above product, feel free to hit the 'Mark as installed' button |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|