Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jul 2008
Posts: 10
L
stranger
stranger
L Offline
Joined: Jul 2008
Posts: 10
I have my board up and running -- love it! -- and I have two (hopefully final) issues I'm having trouble with:

1. Setting up a site index in a custom island.
I entered the html href code strings between the EOF lines, and the island and link text displays correctly on the public pages. However the UBB is placeing its own directory before the linked URLs when the links are clicked. For example, it points the link to http://www.mydomain.com/forums/http://www.myspace.com instead of just http://www.myspace.com . How do I prevent the board from adding the directory prefix to the links?

2. For the "Allow Users to Upload Avatar feature, where do I place my storage directory?
My UBB forums directory is /forums, so do I create a sub folder in there (and if so, what permissions do I set it to?). Also, I'll appreciate it if you'll please give me a sample of what the two UBB avatar upload fields fill-in text should look like for the "avatar upload storage directory" and "full URL to avatar upload storage directory" for the fill-in boxes.

I appreciate your help.

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
  • paste an example of your custom island in this thread in [php] tags. then it's a snap to critique / correct for you
  • i'll use my site as an example for you. sirdude.com is the main domain.. /forums is where the forums are.. if i look @ the actual path on the hard drive, it's /home/sirdude/public_html/forums for the forums directory.

    now assume you want a directory like /forums/avatars to use..

    then the path would be /home/sirdude/public_html/forums/avatars

    i'd also CHMOD it to 777 (allows writing -- uploading) .. test it in your control panel.. you should get a 'passed' or 'writeable' message..
  • after that, you are good to go smile

Joined: Jul 2008
Posts: 10
L
stranger
stranger
L Offline
Joined: Jul 2008
Posts: 10
Here's my custom island "list of links" code that's not working:

/* PHP CODE HERE, IF NECESSARY */

/* DO NOT CHANGE THE LINE BELOW */
$body = <<<EOF
<a href="http//www.wheelchairjunkie.com/whatsnew.html">Weekly What's New Page</a><br/>
<a href="http//www.wheelchairjunkie.com/page2.html">Article Index</a><br/>
<a href="http//wheelchairjunkie.wordpress.com">Powerchair Diaries Blog</a><br/>
<a href="http//www.myspace.com/wheelchairjunkie">WJC on MySpsce</a>
EOF;
/* DO NOT CHANGE THE LINE ABOVE */

Thank you.

Last edited by Lori.j; 07/07/2008 12:25 PM.
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
You forgot the colon...

http// should be http://

smile

Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
yeppers, that should do it wink

good catch, driv-UNiT smile

also, you should use php tags and make it more 'geek friendly' laugh

PHP Code
/* PHP CODE HERE, IF NECESSARY */

/* DO NOT CHANGE THE LINE BELOW */
$body = <<<EOF
<a href="http://www.wheelchairjunkie.com/whatsnew.html">Weekly What's New Page</a><br/>
<a href="http://www.wheelchairjunkie.com/page2.html">Article Index</a><br/>
<a href="http://wheelchairjunkie.wordpress.com">Powerchair Diaries Blog</a><br/>
<a href="http://www.myspace.com/wheelchairjunkie">WJC on MySpsce</a>
EOF;
/* DO NOT CHANGE THE LINE ABOVE */ 

Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Beep.

Joined: Jun 2006
Posts: 16,301
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,301
Likes: 116
Plop plop, fizz fizz...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

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
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
0 members (), 681 guests, and 174 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 20240506)