Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Blog block instead of tab in user profile Details »»
Blog block instead of tab in user profile
Version: 1.00, by Taragon Taragon is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.7.x Rating:
Released: 03-26-2008 Last Update: 03-26-2008 Installs: 25
Template Edits
Re-useable Code Translations  
No support by the author.

Blog block instead of tab in user profile
  • Changes the look, and position if preferred of the blog tab in the 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!
Please keep in mind also some other mods are using the $template_hook[profile_left_last] hook.

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

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

Comments
  #22  
Old 08-11-2008, 01:13 PM
samiro's Avatar
samiro samiro is offline
 
Join Date: Jan 2007
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its not working...
Reply With Quote
  #23  
Old 08-11-2008, 04:42 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by samiro View Post
its not working...
Actually it is working just fine
A few questions since your reply doesn't show what might be wrong.
  1. Have you installed vBulletin Blog?
  2. Do you have the 'normal' blog tab working? (the blog simply replaces the tab, nothing more)
  3. Do you actually have a blog entry made?
Reply With Quote
  #24  
Old 09-07-2008, 12:40 AM
Boosted Panda Boosted Panda is offline
 
Join Date: Mar 2008
Location: Long Beach, CA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Taragon have you released code on how to make your profile page the way you have it! I love it without those pesky tabs!
Reply With Quote
  #25  
Old 09-07-2008, 05:03 AM
Boosted Panda Boosted Panda is offline
 
Join Date: Mar 2008
Location: Long Beach, CA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

btw I got this to work.

Do everything as said but it is:
$blocks[blog] and you have to remove the template start and end locations.
Reply With Quote
  #26  
Old 09-19-2008, 07:35 PM
Konstantinos Konstantinos is offline
 
Join Date: Apr 2006
Posts: 443
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can u share your entire memberinfo template ?
Reply With Quote
  #27  
Old 09-20-2008, 07:34 PM
Boosted Panda Boosted Panda is offline
 
Join Date: Mar 2008
Location: Long Beach, CA
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I edited my memberinfo the same way. Ill post it soon.
Reply With Quote
  #28  
Old 09-29-2008, 11:18 PM
Blackhat's Avatar
Blackhat Blackhat is offline
 
Join Date: Mar 2005
Posts: 323
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a way to get the recipe for your complete memberinfo page ?
Reply With Quote
  #29  
Old 09-29-2008, 11:47 PM
Taragon's Avatar
Taragon Taragon is offline
 
Join Date: Sep 2007
Location: The Netherlands
Posts: 390
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll release it soon. I just have to find a bit of spare time somewhere
Reply With Quote
  #30  
Old 10-29-2008, 08:43 PM
Emmmmrz's Avatar
Emmmmrz Emmmmrz is offline
 
Join Date: Jul 2008
Location: NorthPole
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taragon View Post
it's for vBulletin Blog by vbulletin.com
That would be something to add in the description; that it's only for that paid add-on.
Reply With Quote
  #31  
Old 03-28-2009, 12:59 PM
AWMGolfer AWMGolfer is offline
 
Join Date: Dec 2007
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I know it's been a while for this thread but I have used this on 3.8 with no issues but just have one question. I still have the blog tab and I would like to just have the blog block on the right with no blog tab. What do I need to do to remove the tab? Thanks in advance!
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:56 PM.


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.09718 seconds
  • Memory Usage 2,310KB
  • Queries Executed 27 (?)
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)bbcode_code
  • (2)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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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