Link To Us - Block Custom Text

Current Version: 1.0.6
Released: 09.01.10
Forum rules
Before creating a new support thread, please take a look in the board3 Portal FAQ and use the search!
Many questions have already been answered.
Locked

Topic author
Zaid
Active Member
Posts: 15
Joined: 14. February 2009 07:00
phpBB.com User: Zaid

Link To Us - Block Custom Text

Post by Zaid »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://forums.tomorrowsgaming.com/portal.php

What have you done before the problem was there?


What have you already tryed to solve the problem?


Description and Message
Hi,

I would like to edit the code that appears in the "link to us" block on this portal, I went to ACP but there is no option for us to be able to insert our own code, I need to enter an image/badge of my site along the code but to do that I have to insert the image code,

tried to edit the link_us .html and .php but no luck ... So How Do We Change The Code and stuff ?
User avatar

Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: Link To Us - Block Custom Text

Post by Kevin »

This has been answered several times. Please use the search function.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

Topic author
Zaid
Active Member
Posts: 15
Joined: 14. February 2009 07:00
phpBB.com User: Zaid

Re: Link To Us - Block Custom Text

Post by Zaid »

I actually did use the Search here and Google... Both didnt turn up very happy and helpful results, if you know its been answered then couldn't you please just given me the link to the answer ?
User avatar

Mike
Former Team Member
Posts: 1862
Joined: 3. July 2008 23:59
Location: Schwarzwald / FDS
Contact:

Re: Link To Us - Block Custom Text

Post by Mike »

kein Support per PN / Messenger
no Support via PM / Messenger

Topic author
Zaid
Active Member
Posts: 15
Joined: 14. February 2009 07:00
phpBB.com User: Zaid

Re: Link To Us - Block Custom Text

Post by Zaid »

this is the part i am suppose to edit but I get errors when I replace the U_LINK_US code with my desired HTML

so how to I enter this HTMl in an other way <a href="http://tomorrowsgaming.com/forums/" title="BD's No.1 Gaming, Computer & Tech Enthusiast Community!">Tomorrows Gaming™</a>

Code: Select all

// Assign specific vars
$template->assign_vars(array(
	'S_DISPLAY_LINK_US' => true,
	'LINK_US_TXT'		=> sprintf($user->lang['LINK_US_TXT'], $config['sitename']),
	'U_LINK_US'			=> '<a&nbsp;href="' . $u_link . '"&nbsp;' . (($config['site_desc']) ? 'title="' . $config['site_desc'] . '"' : '' ) . '>' . (($config['sitename']) ? $config['sitename'] : $u_link ) . '</a>',
));



So what should be my code because when I directly use my HTML code it gives me some error

Parse error: syntax error, unexpected '<' in /home2/tgtwobdc/public_html/forums/portal/block/link_us.php on line 29
Locked

Return to “board3 Portal 1.0.x - English Support”