Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues
Author Message
ssttss
New Member
New Member


Joined: Oct 06, 2008
Posts: 4

PostPosted: Mon Oct 06, 2008 4:40 pm Reply with quote

Hi, I was wondering how i would go about doing the following:

On the forum i have:

Category: Introduction
Forum: Welcome
Forum: Ventrilo

When someone clicks Ventrilo i am trying to make it open vent and connect them to our server. I know this can be done but i can't remember how.

I know the vent link Only registered users can see links on this board! Get registered or login! but where do i put this?
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Tue Oct 07, 2008 7:51 am Reply with quote

I'm not sure exactly what you are asking. Which forum screen are you wanting to have clickable? I'm assuming you're not talking about a regular link that is used in a posted message, so you're referring to an index page of some kind?
 
View user's profile Send private message
ssttss
PostPosted: Tue Oct 07, 2008 8:07 am Reply with quote

yes, say your looking at the index of the forum. You have all the main categories, instead of making one of them links go the sub forum page how i make it redirect to an url or in this case a vent server?

thanks
 
Raven
PostPosted: Tue Oct 07, 2008 9:42 am Reply with quote

I think what you want to do would be something like the following:

* Edit modules/Forums/viewtopic.php
* Search for viewforum. You should find 2 lines:
-- $view_forum_url = append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id");
-- make_jumpbox('viewforum.'.$phpEx, $forum_id);

You will need to add some if/then/else logic to test for the $forum_id. If the $forum_id is equal to the Ventrillo forum id then create the link to the vent server. Otherwise let the process flow as is. You will also need to do that for the JumpBox.
 
ssttss
PostPosted: Tue Oct 07, 2008 11:16 am Reply with quote

ok many thanks i will try that
 
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Oct 07, 2008 10:40 pm Reply with quote

It would probably be easier to put it up by the forum header. Unless you really want it in the forum index.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> RN v2.20.00 - All Issues

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 ©