A small tut on how to change forum to your link :)

WeeEwan

Member
Jul 5, 2010
61
0
Ok open up community_header.php

Press Ctrl + F and then type in /forums ok it will take you some where saying :
Code:
href=\"".PATH."/forums\">Forums</a>"; } ?>
			<span></span>
		</li>

		<?php if((int) $user->user("rank") > 4){ ?>
		<li id="tab-register-now"><a href="<?php echo PATH;

edit the bit that says /forums to your link and your done :)


you can do this with any header i think any questions ask me :)
 

leog504

New Member
Jun 26, 2010
46
0
Arthur. said:
Ok open up community_header.php

Press Ctrl + F and then type in /forums ok it will take you some where saying :
Code:
href=\"".PATH."/forums\">Forums</a>"; } ?>
			<span></span>
		</li>

		<?php if((int) $user->user("rank") > 4){ ?>
		<li id="tab-register-now"><a href="<?php echo PATH;

edit the bit that says /forums to your link and your done :)


you can do this with any header i think any questions ask me :)

Let's say that my url is "forums.com". When I click my Forums tab it would then bring me to "myretro.com/forums.com" and it would basically fail... :(
 

Kaan

New Member
Jul 18, 2010
6
0
leog504 said:
Let's say that my url is "forums.com". When I click my Forums tab it would then bring me to "myretro.com/forums.com" and it would basically fail... :(

Ok your url is forums.com.
your code is:
Code:
href=\"http://forums.com/">Forums</a>"; } ?>
            <span></span>
        </li>

        <?php if((int) $user->user("rank") > 4){ ?>
        <li id="tab-register-now"><a href="<?php echo PATH;
 

leog504

New Member
Jun 26, 2010
46
0
Kaan said:
leog504 said:
Let's say that my url is "forums.com". When I click my Forums tab it would then bring me to "myretro.com/forums.com" and it would basically fail... :(

Ok your url is forums.com.
your code is:
Code:
href=\"http://forums.com/">Forums</a>"; } ?>
            <span></span>
        </li>

        <?php if((int) $user->user("rank") > 4){ ?>
        <li id="tab-register-now"><a href="<?php echo PATH;


I tried removing the .PATH. "/\" and when i click back on my site then it has something like error C:\xampp\....etc.
 

WeeEwan

Member
Jul 5, 2010
61
0
no u need to host ur forums on ur xammp i think so then it goes to like /forum or /mybb or sumthing :) ill see about the links :)
 

leog504

New Member
Jun 26, 2010
46
0
Arthur. said:
no u need to host ur forums on ur xammp i think so then it goes to like /forum or /mybb or sumthing :) ill see about the links :)

I got it working :D!!! It's not a direct link from the tab though...I just made another page with a hyperlink...close enough
 

Users who are viewing this thread

Top