Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's Collapsing Forums Block
Author Message
Rikk03
Worker
Worker



Joined: Feb 16, 2004
Posts: 164

PostPosted: Tue May 25, 2004 1:59 am Reply with quote

Nice alteration ...addition Raven, - The forum Titles in the collapsing Forums block - can I get the updated?
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Tue May 25, 2004 4:35 am Reply with quote

It should be released w/i the next couple of days Smile
 
View user's profile Send private message
Raven







PostPosted: Tue May 25, 2004 8:34 am Reply with quote

This has been released.
 
64bitguy
The Mouse Is Extension Of Arm



Joined: Mar 06, 2004
Posts: 1164

PostPosted: Wed Sep 08, 2004 2:38 am Reply with quote

Is there some special tweak for this for enabling GT-Nexgen 0.4a?

I think I'm missing something. Where could I have gone wrong?

Thanks!

_________________
Steph Benoit
100% Section 508 and W3C HTML5 and CSS Compliant (Truly) Code, because I love compliance. 
View user's profile Send private message
64bitguy







PostPosted: Fri Sep 10, 2004 2:16 am Reply with quote

Code:
$Count_Topics += 1;

$result5 = sql_query("SELECT cat_title FROM ".$prefix."_bbcategories where cat_id='$cat_id'", $dbi);
list($cat_title)=sql_fetch_row($result5, $dbi);
$result2 = sql_query("SELECT username, user_id FROM ".$prefix."_users where user_id='$topic_poster'", $dbi);
list($username, $user_id)=sql_fetch_row($result2, $dbi);
$avtor=$username;
$sifra=$user_id;

$result4 = sql_query("SELECT u.username, u.user_id, p.poster_id, FROM_UNIXTIME(p.post_time,'%m/%d/%Y at %H:%i') as post_time FROM ".$prefix."_users u, ".$prefix."_bbposts p where u.user_id=p.poster_id AND p.post_id='$topic_last_post_id'", $dbi);
list($username, $user_id, $poster_id, $post_time)=sql_fetch_row($result4, $dbi);
$content .= <<<_JS_
tickercontents[$cnt] = "<table><tr><td width=\"60%\" bgcolor=\"#f5f5f5\" class=\"row1\"><a href=\"ftopict-$topic_id.html#$topic_last_post_id\"><span style=\"text-decoration:none;font-style: italic\">[$cat_title:&nbsp;$forum_name]</span><br />&nbsp;$topic_title</a></td><td align=\"center\" bgcolor=\"#ececec\" class=\"row2\" width=\"5%\">$topic_replies</td><td align=\"center\" bgcolor=\"#ececec\" class=\"row3\" width=\"20%\"><a href=\"forum-userprofile-$sifra.html\">$avtor</a></td><td align=\"center\" bgcolor=\"#f5f5f5\" class=\"row2\" width=\"5%\">$topic_views</td><td align=\"center\" nowrap bgcolor=\"#ececec\" class=\"row3\"><font size=\"-2\" width=\"10%\"><i>&nbsp;&nbsp;$post_time&nbsp;</i></font><br><a href=\"forum-userprofile-$user_id.html\">$username</a>&nbsp;<a href=\"ftopicp-$topic_last_post_id.html#$topic_last_post_id\"></a></td></tr></table>";
_JS_;
$cnt++;
}
   if( $Last_New_Topics == $Count_Topics ) { break 1; }


I wanted everyone to know how to fix this collapsing block to work with GT-NextGen.

Just change out the section of code above from the block's original code starting with the first line and ending with the last line.

These changes simply replace all of the modules? functions with the correctly formatted .html coding to enable this block to work with GoogleTap.

I thought since I had to figure all of this out on my own, the least I could do is post it for the next person. Hopefully it will make you life a tad easier or at least save you some time!

Hope it helps!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's Collapsing Forums Block

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©