phpBBHacks.com - Topic in whosonline
phpBBHacks.com, the place for phpBB users
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Add Us:     MySpace     Facebook     StumbleUpon
Username:    Password:
Remember Me?    
Topic in whosonline
BlinkList
del.icio.us
Furl
linkaGoGo
reddit
Simpy
Mister Wong
Yahoo! My Web

Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Hack Support
 See a User Guidelines violation? Please contact us.
Author Message

Marian
Not So New User

Joined: 08 Apr 2007
Posts: 61

PostPosted: June 10th 2008, 5:47 am    Post subject: Topic in whosonline Reply with quote

Patrick wrote:
We allow hacks to be discussed here and supported, even if they are not in our database.

I guess that makes you guys sort of my last chance to solve this... Angel

Two days ago I downloaded and installed this mod: http://startrekguide.com/community/viewtopic.php?f=61&t=7013

It works fine except for one thing... it only shows the topic when a user enters it directly from the viewforum page. If you click on the last topic on the index it doesn't work.
I'm assuming this is somewhere in this code in viewonline.php:

Code:
                  // BEGIN: Topic in "Who is online"
                  preg_match('#t=([0-9]+)#', $row['session_page'], $on_page);
                  if (sizeof($on_page) && isset($topic_titles[$on_page[1]]))
                  {
                     $location = sprintf($user->lang['READING_TOPIC_TOPIC'], $forum_data[$forum_id]['forum_name'], $topic_titles[$on_page[1]]);
                     $location_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $forum_id . '&t=' . $on_page[1]);
                  }
                  else
                  {
                     $location = sprintf($user->lang['READING_TOPIC'], $forum_data[$forum_id]['forum_name']);
                  }
                  // END: Topic in "Who is online"


The moment you enter a topic from the index page apparently the "else" statement applies. I would be very grateful if anyone can tell me how to change that!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 3 Hack Support All times are GMT - 6 Hours
Page 1 of 1
Jump to:  
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



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB.it - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - DeveloperCube - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - PhotoshopForums.com - MicrosoftBlog.com - DrGregHouse.com - Bad Boy Blog - BadBoyForums.com - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Staff - User Guidelines >

Copyright © 2001-2008. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. Hosted by 100MegsWebHosting. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.