Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2006
Posts: 77
Taylor Offline OP
journeyman
OP Offline
journeyman
Joined: Oct 2006
Posts: 77
How do I make a content window like the window for "Site Links"?
smile




Joined: Jun 2006
Posts: 16,037
Likes: 66
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,037
Likes: 66
Use the "Custom Islands" feature, insert the raw html code, save, set as a portal island.


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!
Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837

Joined: Oct 2007
Posts: 92
L
journeyman
Offline
journeyman
L
Joined: Oct 2007
Posts: 92
If I would want a picture inside of the box, what would I need to adjust?

The picture should be clickable and referring to a topic (which would open in the same window)

thanks a lot in advance.. again grin

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837
You can use standard html - so anything should be possible smile

Joined: Oct 2007
Posts: 92
L
journeyman
Offline
journeyman
L
Joined: Oct 2007
Posts: 92
Don't doubt it's possible, just don't know how to wink

Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Offline
Pooh-Bah
D
Joined: Jan 2004
Posts: 2,474
Likes: 3
For images... http://www.w3schools.com/html/html_images.asp

For Links.... http://www.w3schools.com/tags/tag_a.asp

In essence....
Code
 <a href="http://www.example.com" target="_self"><img src="your image location"></a>     



Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837
thanks driv smile .......

Joined: Oct 2007
Posts: 92
L
journeyman
Offline
journeyman
L
Joined: Oct 2007
Posts: 92
thanks!

How do I get rid of the blue square around the image? confused

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837
Code

<a href="/forums/ubbthreads.php?ubb=viewmessages"><img src= "/forums/images/general/default/newpm.gif" border="0" alt="Unread Private Messages: 1" title="Unread Private Messages: 1" /></a>


is the code on this page if you have the flashing icon and one unread private message.

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837
Hopefully from that you can figure out the code wink

Joined: Oct 2006
Posts: 77
Taylor Offline OP
journeyman
OP Offline
journeyman
Joined: Oct 2006
Posts: 77
Thanks

On the custom islands I have this code already

/* PHP CODE HERE */

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

Where do i put the html code?
I can not understan as those instructions are not clear to me... plus i saw a message that putting wrong code here can mess the whole posrtal...

can i use UBB code too? Would it go in the same place?

Joined: Oct 2007
Posts: 92
L
journeyman
Offline
journeyman
L
Joined: Oct 2007
Posts: 92
great cool

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837
Originally Posted by Taylor
Thanks

On the custom islands I have this code already

/* PHP CODE HERE */

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

Where do i put the html code?
I can not understan as those instructions are not clear to me... plus i saw a message that putting wrong code here can mess the whole posrtal...

can i use UBB code too? Would it go in the same place?

Looking at Rick's example...

PHP Code

/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF
<a href="https://www.ubbcentral.com">Home</a><br />
<a href="https://www.ubbcentral.com/features.php">Features</a><br />
<a href="https://www.ubbcentral.com/docs.php">Documentation</a><br />
<a href="https://www.ubbcentral.com/purchase.php">Pricing & Order</a><br />
<a href="http://www.infopop.com/members/members.php">Members Area</a>
EOF;
 

You will see that the html is after $body = <<<EOF and before EOF;

Place your html here and you will be fine as long as there is nothing bad within the code wink

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837
Originally Posted by luckie
great cool


No worries - btw next time it is easier for the OP if you start a new thread wink

Joined: Oct 2006
Posts: 77
Taylor Offline OP
journeyman
OP Offline
journeyman
Joined: Oct 2006
Posts: 77
Thank you very much. I got it working now

blush

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Offline
Carpal Tunnel
I
Joined: Jun 2006
Posts: 3,837
well done - let us know if you have further issues - good luck with your forums smile


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Active links corrupts image links/urls
by Morgan - 02/24/2021 1:03 PM
Return to Page
by Abbott - 02/20/2021 9:57 AM
Importers folder?
by DaveZ - 02/18/2021 11:31 AM
PM Next and Prior
by Abbott - 02/15/2021 4:37 PM
Custom Island between Post 1 and 2 Not Showing?
by BellaOnline - 01/26/2021 7:36 PM
Who's Online Now
1 members (Morgan), 72 guests, and 53 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5