Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2006
Posts: 77
journeyman
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837

Joined: Oct 2007
Posts: 92
L
journeyman
journeyman
L Offline
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
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
You can use standard html - so anything should be possible smile

Joined: Oct 2007
Posts: 92
L
journeyman
journeyman
L Offline
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
Pooh-Bah
D Offline
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
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
thanks driv smile .......

Joined: Oct 2007
Posts: 92
L
journeyman
journeyman
L Offline
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
Carpal Tunnel
I Offline
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
Carpal Tunnel
I Offline
Joined: Jun 2006
Posts: 3,837
Hopefully from that you can figure out the code wink

Joined: Oct 2006
Posts: 77
journeyman
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
journeyman
L Offline
Joined: Oct 2007
Posts: 92
great cool

Joined: Jun 2006
Posts: 3,837
I
Ian Offline
Carpal Tunnel
Carpal Tunnel
I Offline
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
Carpal Tunnel
I Offline
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
journeyman
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
Carpal Tunnel
I Offline
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
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 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 20230217)