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
hackphreik
New Member
New Member


Joined: Jun 29, 2005
Posts: 5

PostPosted: Fri Sep 09, 2005 11:15 am Reply with quote

i was wondering if you have this block cuz i tried to made it work with google taps urls and i could not do it.

Maybe raven or someone else can make it and make it a raven download.

thanks for any help.
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Fri Sep 09, 2005 12:05 pm Reply with quote

?? I wrote it and it's in my download section. Sorry if I'm not understanding.
 
View user's profile Send private message
hackphreik
PostPosted: Fri Sep 09, 2005 5:21 pm Reply with quote

i have that one but it works with nuke url's meaning modules.php bla bla and i like to have it with google taps url's i downloaded this one... Only registered users can see links on this board! Get registered or login!


Collapsing Recent Forums Post List Popular [Recommend Download] Recommend

Recent posts list with a twist. Instead of taking up half your home page, this is a cross-browser dhtml collapsing table of your recent posts. In addition, the top entry will change to reveal the hidden posts that are collapsed!

thanks for youe help
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

PostPosted: Fri Sep 09, 2005 6:02 pm Reply with quote

I dont understanf either - if you hover your mouse over the forum posts that are scrolling on the front page of this site, you can see the url's are clearly google friendly.
Have you actually got googletap installed?
 
View user's profile Send private message Send e-mail
Raven
PostPosted: Fri Sep 09, 2005 6:53 pm Reply with quote

You will need to form the urls to conform to your forum urls that I assume are GT'd. If your forums aren't GT'd then the block urls won't be either.
 
hackphreik
PostPosted: Sat Sep 10, 2005 12:05 pm Reply with quote

yes i am using GT-NExtGeN_Beta_0.4 and i tried changing the url's but can get it to work the next code is part of your block forums collapsing

Quote:

$content .= "&nbsp;&nbsp;<a href=\"forums.html?amp;file=profile&amp;mode=viewprofile&amp;u=$user_id\"><img alt='' src=\"modules/Forums/images/avatars/noimage.gif\" border =\"0\" width=\"32\" /></a></td>";
}
elseif (eregi("http://", $user_avatar)) {
$content .= "&nbsp;&nbsp;<a href=\"forums.html?amp;file=profile&amp;mode=viewprofile&amp;u=$user_id\"><img alt='' src=\"$user_avatar\" border =\"0\" width=\"32\" /></a></td>";
}
else $content .= "&nbsp;&nbsp;<a href=\"forums.html?amp;file=profile&amp;mode=viewprofile&amp;u=$user_id\"><img alt='' src=\"modules/Forums/images/avatars/$user_avatar\" border =\"0\" width=\"32\" /></a></td>";
}
$content .= "<td align=\"center\">&nbsp;<a href=\"forums.html?amp;file=profile&amp;mode=viewprofile&amp;u=$user_id\"><b>$username</b></a>&nbsp;<br>&nbsp;<a href=\"forumssearch-search_author-$username.html\">Posts:</a>";
$content .= "&nbsp;<a href=\"forumssearch-search_author-$username.html\">$user_posts</a>&nbsp;</td>";

tickercontents[$cnt] = "<$tr$><$td width=\"60%\" bgcolor=\"$bgcolor1\" class=\"row1\"$><$a href=\"modules.php?name=Forums&file=viewtopic&p=$topic_last_post_id#$topic_last_post_id\" title=\"$topic_title\"$><$span style=\"text-decoration:none;font-style: italic\"$>[$cat_title:&nbsp;$forum_name]<$\/span$><$br /$>&nbsp;$lockTopic$topic_title<$\/a$><$\/td$><$td align=\"center\" bgcolor=\"$bgcolor1\" class=\"row2\" width=\"5%\"$>$topic_replies<$\/td$><$td align=\"center\" bgcolor=\"$bgcolor1\" class=\"row3\" width=\"20%\"$><$a href=\"forum-userprofile-.html$sifra\"$>$_avtor<$\/a$><$\/td$><$td align=\"center\" bgcolor=\"$bgcolor1\" class=\"row2\" width=\"5%\"$>$topic_views<$\/td$><$td align=\"center\" nowrap bgcolor=\"$bgcolor1\" class=\"row3\"$><$font size=\"-2\" width=\"10%\"$><$i$>&nbsp;&nbsp;$post_time&nbsp;<$\/i$><$\/font$><$br$><$a href=\"forum-userprofile-.html$user_id\"$>$_username<$\/a$>&nbsp;<$a href=\"modules.php?name=Forums&file=viewtopic&

and some other ones that maybe need to be change too but im not sure



and the next one is from from GT-Forum.php from the folder google taps in GT-NExtGeN_Beta_0.4


Quote:
<?php

$urlin = array(
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;start=([0-9]*)&amp;postdays=([0-9]*)&amp;postorder=(desc|asc)&amp;highlight=([A-Za-z0-9_-]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;postdays=([0-9]*)&amp;postorder=(desc|asc)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;view=(previous|next)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;(t|p)=([0-9]*)&amp;highlight=([A-Za-z0-9_-]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;t=([0-9]*)&amp;(watch|unwatch)=topic&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;(t|p)=([0-9]*)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewtopic&amp;(t|p)=([0-9]*)#([0-9]*)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=editprofile'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=viewprofile&amp;u=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=register&amp;agreed=true&amp;coppa=true'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=register&amp;agreed=true'",
"'(?<!/)modules.php\?name=Forums&amp;file=profile&amp;mode=register'",
"'(?<!/)modules.php\?name=Forums&amp;file=modules&amp;name=Forums&amp;file=posting'",
"'(?<!/)modules.php\?name=Forums&amp;file=faq&amp;mode=bbcode'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;t=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=vote&amp;t=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=newtopic&amp;f=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=reply&amp;t=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=editpost&amp;p=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=smilies&amp;popup=1'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting&amp;mode=quote&amp;p=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=posting((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=groupcp&amp;g=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=search&amp;search_author=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=search&amp;search_id=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=search&amp;search_id=(unanswered|egosearch|newposts)'",
"'(?<!/)modules.php\?name=Forums&amp;file=search&amp;mode=results'",
"'(?<!/)modules.php\?name=Forums&amp;file=index&amp;c=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=index&amp;mark=forums'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewonline'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)&amp;topicdays=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)&amp;start=([0-9]*)'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)&amp;mark=topics'",
"'(?<!/)modules.php\?name=Forums&amp;file=viewforum&amp;f=([0-9]*)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=([^index][a-zA-Z0-9_-]*)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums&amp;file=index((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Forums(?!&)'",
"'(?<!/)modules.php\?name=Members_List&amp;file=index((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Private_Messages&amp;file=index&amp;folder=(savebox|inbox|outbox|sentbox)((\")|(&amp;sid=[a-zA-Z0-9]*))'",
"'(?<!/)modules.php\?name=Private_Messages&amp;file=index&amp;mode=post&amp;u=([0-9]*)'",
"'(?<!/)modules.php\?name=Private_Messages&amp;mode=post&amp;u=([0-9]*)'",
"'(?<!/)modules.php\?name=Your_Account&amp;op=([a-z]*)\"'",
);

$urlout = array(
"ftopic-\\1-\\2-days\\3-order\\4-\\5.html",
"ftopic-\\1-days\\2-order\\3-\\4.html",
"ftopic-\\1-\\2.html",
"ftopic-\\1-\\2.html",
"ftopic\\1-\\2-\\3.html",
"ftopic-\\1-\\2-\\3.html",
"ftopic\\1-\\2.html\\3",
"ftopic\\1-\\2.html#\\3\\4",
"forum-editprofile.html",
"forum-userprofile-\\1.html",
"forum-register-coppa.html",
"forum-register-new.html",
"forum-register.html",
"forums-posting.html",
"forum-faq-bbcode.html",
"ftopic-post-\\1.html",
"ftopic-vote-\\1.html",
"ftopic-new-\\1.html",
"ftopic-reply-\\1.html",
"ftopic-edit-\\1.html",
"ftopic-smilies.html",
"ftopic-quote-\\1.html",
"forum-posting.html\\1",
"forums-group\\1.html",
"fsearch-author-\\1.html",
"fsearch-\\1-\\2.html",
"fsearch-\\1.html",
"fsearch-results.html",
"forum-c\\1.html",
"forum-mark.html",
"forum-viewonline.html",
"forum-\\1-days\\2-\\3.html",
"forum-\\1-\\2.html",
"forum-\\1-mark.html",
"forum-\\1.html\\2",
"forums-\\1.html\\2",
"forums.html\\1",
"forums.html",
"members.html\\1",
"messages-\\1.html\\2",
"messages-post-\\1.html",
"messages-post-\\1.html",
"account-\\1.html\"",
);

?>


i really am thank you for your help.
 
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1159
Location: Sanbornton, NH USA

PostPosted: Sun Sep 11, 2005 2:30 am Reply with quote

Unfortunately, you can't post URL code here due to a bug in the code/quote functions, but we get the jist.

First, I would ask what version of Nuke this is and what your version of "Patched" is.

Next, I would say to upgrade to GT-NextGen 0.4a

Finally, after upgrading to 0.4a, if you enable block conversion in the mainfile, it should work automatically.

If it doesn't work once you are at 0.4a, post this same code that you just put here in my forums and I'll reply to it with a hard-coded variant that should do the trick for your block.

_________________
Steph Benoit Only registered users can see links on this board! Get registered or login!
1CMS, 100% Section 508 and W3C XHTML/CSS Compliant (Truly) 
View user's profile Send private message Visit poster's website
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 ©