|
|
Joined: Apr 2008
Posts: 46
newbie
|
newbie
Joined: Apr 2008
Posts: 46 |
Hi All can someone help here i want to create a site links box like the ones on these forum on my forum.i read the intruction on control panel but i am bit confuse where to type the web address and the heading Thanks Carlos
|
|
|
|
Joined: Dec 2006
Posts: 1,235
veteran
|
veteran
Joined: Dec 2006
Posts: 1,235 |
Control Panel / Custom Islands
Pick an island (let's say #1) and click "Edit".
Name: Rename to Site Links or whatever you want.
Body: Put your site link HTML between $body = <<<EOF and EOF;
Click "Update Custom Portal Box".
Once you've done that you need to go to Control Panel / Portal Layout and you will see your new "Site Links" Custom Island in the list. All you need to do is select where you want it to appear with the Left Column / Right Column selectors.
Done!
|
|
|
|
Joined: Apr 2008
Posts: 46
newbie
|
newbie
Joined: Apr 2008
Posts: 46 |
thanks for reply do i put the link on the same line as $body = <<<EOF and EOF; and when you same between do i delete the wording aready in that box. sorry if you answer that already if you show example that would be great Carlos
|
|
|
|
Joined: Jun 2006
Posts: 3,837
Carpal Tunnel
|
Carpal Tunnel
Joined: Jun 2006
Posts: 3,837 |
Rick has actually put the code from the links box site here in a post - I am about to go out, so do not have time to search but I found it before for someone else
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Here is my (shortened) Site Links island:
/* PHP CODE HERE, IF NECESSARY */
/* DO NOT CHANGE THE LINE BELOW */
$body = <<<EOF
><a href="/help/" target="_blank">Help Page</a>
<br>><a href="/emoticons/" target="_blank">More Smilies</a>
<br>><a href="http://www.gangsterbb.net/frappr_map.shtml" target="_blank">GBB Members Map</a>
EOF;
/* DO NOT CHANGE THE LINE ABOVE */
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Dec 2006
Posts: 1,235
veteran
|
veteran
Joined: Dec 2006
Posts: 1,235 |
Like this: /* PHP CODE HERE */
/* BODY HERE */ $body = <<<EOF
<a href="http://www.mysite.com/">Home</a>
EOF;
|
|
|
|
Joined: Apr 2008
Posts: 46
newbie
|
newbie
Joined: Apr 2008
Posts: 46 |
cheers for that i need to put <a href=" in front web link and the end of the web link </a> for it to work is that right?
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
Just copy exactly what's above, replacing the URL and link title
For further links, but a <br> before each link for a linebreak
<a href="http://www.mysite.com/">Home</a> <br><a href="http://www.mysite.com/help">Help</a> <br><a href="http://www.mysite.com/contact">Contact</a>
etc...
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Apr 2008
Posts: 46
newbie
|
newbie
Joined: Apr 2008
Posts: 46 |
|
|
|
|
Joined: Apr 2008
Posts: 46
newbie
|
newbie
Joined: Apr 2008
Posts: 46 |
hi is possbile to put more than one website links into one box eg yahoo as one link and then msn as another link in the same box thanks in advance
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
You can put as many links in the box as you want - check my site
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
1 members (Gizmo),
910
guests, and
162
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|