Hey everyone, i have been away for some time now. I am back, but only in limited fashion.
I have a lot of updates to add to this MOD, and I hope to get it done and published very soon.
Moderator: Integra Moderator
"Dragonsys";p="13890" wrote:Which link are you meaning? The My Blog link or the Blog CP, or the Blog listing?
"spode";p="13896" wrote:"Dragonsys";p="13890" wrote:Which link are you meaning? The My Blog link or the Blog CP, or the Blog listing?
The My Blog link. The other 2 work fine since they are direct links. The problem is that when I add a link to the navigation block that calls the "{U_MYWEBLOG}" variable there is no output and it goes to a non existant page. I am using this line in an html Navigation block; <a>My Blog</a>.
When you hold the mouse over the link on the suspect site it returns this [color=red]http]. When I hold the mouse over my stock phpBB2 install on my local server I get this, [color=red]http]. It looks like the live site with IM Portal installed doesn't know what to do with the variable. I just can't figure out how to get it to work in the nav block. It would be easier for me to put it in the overall_header but he doesn't want it there. By the way my statement above that this site has Qbar installed is wrong. That was another site but I couldn't get it to work there either.
This probably isn't that big of a deal. I did explain to him that when you click the "Blogs" link the first one listed is always the loged in user so he has backed off on it a bit. It is just one of those things.
Rob...
"Dragonsys";p="13890" wrote:
Well, if you are using QBAR, it cannot process dynamic links. That is why I created a page which forwards to the My Blog link, for use with IntegraMod. You just link to that page and it has the code inside of it to figure out the user's blog link.
I can make the code available for it, or you can download the IM version of the Blog Mod I posted above, which ever works best for you. But, if you are just using IM Portal, then you probably don't want to use the IM version... (just use the myblog.php and myblog.tpl files)
<php>set_filenames(array( 'body' => 'myblog.tpl') ); function my_blog_func() { global $template, $userdata, $phpbb_root_path, $phpEx, $db, $board_config, $lang, $portal_config, $_GET; $template->assign_vars(array( 'YOUR_BLOG' => $userdata['user_weblog'] ) ); } my_blog_func(); $template->pparse('body'); include($phpbb_root_path . 'includes/page_tail.'.$phpEx); ?>
"Threat009";p="9789" wrote:"Dragonsys";p="9750" wrote:it sounds like you missed an edit in templates/fisubice/admin/group_edit_body.tpl
UPDATE phpbb_users SET user_allowweblog=1 WHERE user_allowweblog=0;
"MWE_001";p="15406" wrote:I tried this yet again and it didnt work. Maybe should I try it on my CP for my website rather than phpmyadmin on my board?
***Update. I went to phpmyadmin at my websites Control panel and looked up the tables for user_allowweblog=1 and the value is infact 1 and not 0 is this correct?"Threat009";p="9789" wrote:"Dragonsys";p="9750" wrote:it sounds like you missed an edit in templates/fisubice/admin/group_edit_body.tpl
That did the trick. Thanks <img>
Just wanted to also mention in regard to the "you have been banned from creating a blog" error. The sql thing below that you mentioned worked for me
- Code: Select all
UPDATE phpbb_users SET user_allowweblog=1 WHERE user_allowweblog=0;
I read that someone else didn't have any luck w/it, but it's still worth trying if you are getting this error. <!-- s]
"MWE_001";p="15536" wrote:Ok I will stand by . I read one other person got it to work. I wonder server specs. I can get you mine if you need. Also can get you IM version and blog mod is your latest one.
Registered users: Google [Bot], Unspecified Bot