Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2008
Posts: 46
C
newbie
newbie
C Offline
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
C
newbie
newbie
C Offline
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
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
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 smile

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:

HTML
/* PHP CODE HERE, IF NECESSARY */

/* DO NOT CHANGE THE LINE BELOW */
$body = <<<EOF

&#62;<a href="/help/" target="_blank">Help Page</a>
<br>&#62;<a href="/emoticons/" target="_blank">More Smilies</a>
<br>&#62;<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:
Quote
/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF

<a href="http://www.mysite.com/">Home</a>

EOF;

Joined: Apr 2008
Posts: 46
C
newbie
newbie
C Offline
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
C
newbie
newbie
C Offline
Joined: Apr 2008
Posts: 46
cheers thanks it works

Joined: Apr 2008
Posts: 46
C
newbie
newbie
C Offline
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

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
1 members (Gizmo), 910 guests, and 162 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)