Solved: 14 Years, 4 Months ago Portal Annoucements
#1
Solved: 14 Years, 4 Months ago
I dont have any Annoucements showing up on my portal page despite setting everything up correctly and giving a valid fid.

Just have a blank space, no errors.

This is after a phpbb3 conversion.

Interestingly this is the second text conversion I have done, the first time round Annoucements did show up.
#2
Solved: 14 Years, 4 Months ago
What's your URL and the ID you put in??
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#3
Solved: 14 Years, 4 Months ago
I see to have resolved this now, I had to open each of the threads in the specified forum for them to then show on the portal.

I didnt need to reply just open and close the threads.
#4
Solved: 14 Years, 4 Months ago
having almost same problem. I'm using mod "forms manager" which creates new threads after user filled out form and this new threads doesn't show up on portal until someone opens this thread. Why portal doesn't show unread threads?
Portfolio - Plum
#5
Solved: 14 Years, 4 Months ago
I can't see how just viewing a thread would make it show, there's nothing in portal.php that shows threads with a certain amount of views, there's just a query to fetch the threads... they show up just fine on my localhost even when I haven't viewed them.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#6
Solved: 14 Years, 4 Months ago
well take a look then Smile

portal is here:
http://bb.leehost.ru/portal.php

form is here:
http://bb.leehost.ru/forms.php?id=1

just fill out the form and you'll see everything by yourself Smile
type anything you want into fields
Portfolio - Plum
#7
Solved: 14 Years, 4 Months ago
Considering that isn't a default feature there may be another reason for it, in the plugin. Default announcements show fine so it looks like if these aren't showing, then the issue is with the plugin. I tested the default functionality, works just fine. Try and test it in the normal way, make a thread normally, it'll show up.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#8
Solved: 14 Years, 4 Months ago
looks like this plugin creates thread uncommon way. When you create thread using deafault feature announce shows up on portal page. Well then what's the difference of creating thread between plugin-way and default-way?

i guess this part of plugin creates new thred:
	$user=$mybb->user['username'];
		if ($user == '')
		{
			$user="Guest";
		}
		$uid=$mybb->user['uid'];
		$insert_array = array(
		"fid" => intval($form['forum_fid']),
		"subject" => "Город: $form[name]",
		"icon" => 0,
		"uid" => intval($uid),
		"username" =>  $user,
		"dateline" => time(),
		"lastpost" => time(),
		"closed" => "",
		"visible" => 1,
		);
		$db->insert_query("threads", $insert_array);
		$newtid = $db->insert_id();
		$insert_post = array(
		"tid" => intval($newtid),
		"subject" => "Город: $form[name]",
		"fid" => intval($form[forum_fid]),
		"uid" => intval($uid),
		"username" =>  $user,
		"dateline" => time(),
		"message" => $bbmessage,
		"visible" => 1,
		);

I noticed that when you create thread usual way there appears record in SQL "mybb_threadsread" about this thread and when plugin creates thread there is no any records in "mybb_threadsread" could it be the reason?
I solved it Smile I have no questions, thank you MattRogowski Smile
Portfolio - Plum


Forum Jump:


Users browsing this thread: 3 Guest(s)