vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Profile Enhancements - Blog block instead of tab in user profile (https://vborg.vbsupport.ru/showthread.php?t=174274)

corazorback 04-04-2008 08:25 PM

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???

toucan42 04-05-2008 01:23 PM

Quote:

Originally Posted by J98680B2423E (Post 1482949)
Thanks Taragon, *Installed* (templates modified) :up:, but not seen any changes. :( No blog block displayed in my public User Profile.

I do have a Blog feature installed and I have some entries posted in my blog.

Any hint?

I have the blog product as well and no blog block or tab showing in user profile - running vB 3.7 RC 2

tmiland 04-05-2008 07:50 PM

@ 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', '>='))
to Code:
Code:

if (defined('YUI_VERSION'))
Member Profile (3.7): Add Blog Tab member_build_blocks_start [Edit]

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') . '";');

Member Profile: Add Blog Links to standard MEMBERINFO display member_complete [Edit]

Change Code:
Code:

if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 1', '<') AND $userinfo['bloguserid'])
to Code:
Code:

if (!defined('YUI_VERSION') AND $userinfo['bloguserid'])
Member Profile: Inform member.php of blogs and new templates init_startup [Edit]

Change Code:
Code:

if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 1', '>='))
to Code:
Code:

if (defined('YUI_VERSION'))
2.
Open includes/blog_init.php and go down to the bottom.

Replace
PHP Code:
PHP Code:

if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 1''>=')) 


with

PHP Code:
PHP Code:

if (defined('YUI_VERSION')) 

Hope this will solve your problem :)

J98680Bxxxxx 04-05-2008 08:28 PM

Quote:

Originally Posted by tmiland (Post 1483851)
@ toucan42

I had this problem too, you need to apply 2 fixes.
...
Hope this will solve your problem :)

Hi tmiland,

I have implemented those suggestions, still nothing displayed. I am running vB 3.7 RC 2

:(

corazorback 04-05-2008 09:05 PM

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

Taragon 04-07-2008 11:52 AM

Quote:

Originally Posted by tmiland (Post 1483851)
@ 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', '>='))
to Code:
Code:

if (defined('YUI_VERSION'))
Member Profile (3.7): Add Blog Tab member_build_blocks_start [Edit]

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') . '";');

Member Profile: Add Blog Links to standard MEMBERINFO display member_complete [Edit]

Change Code:
Code:

if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 1', '<') AND $userinfo['bloguserid'])
to Code:
Code:

if (!defined('YUI_VERSION') AND $userinfo['bloguserid'])
Member Profile: Inform member.php of blogs and new templates init_startup [Edit]

Change Code:
Code:

if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 1', '>='))
to Code:
Code:

if (defined('YUI_VERSION'))
2.
Open includes/blog_init.php and go down to the bottom.

Replace
PHP Code:
PHP Code:

if (version_compare($vbulletin->options['templateversion'], '3.7.0 Alpha 1''>=')) 


with

PHP Code:
PHP Code:

if (defined('YUI_VERSION')) 

Hope this will solve your problem :)

thanks tmiland! (just got home from a small holiday)

Reeve of shinra 04-07-2008 04:03 PM

very nice mod!

dreads 04-29-2008 10:59 PM

installed
Thanks!

blogcrash 07-07-2008 09:54 AM

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

Taragon 07-07-2008 04:43 PM

Quote:

Originally Posted by blogcrash (Post 1568945)
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

Hello blogcrash,

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 :)


All times are GMT. The time now is 03:03 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.01329 seconds
  • Memory Usage 1,759KB
  • 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
  • (14)bbcode_code_printable
  • (4)bbcode_php_printable
  • (4)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