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 ?
Link To Us - Block Custom Text
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.
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.
-
- 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
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!
Kein Support per PN / No support via PM!
Re: Link To Us - Block Custom Text
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 ?
Re: Link To Us - Block Custom Text
Maybe this can help
http://board3.de/viewtopic.php?p=9428#p9428
http://board3.de/viewtopic.php?p=9428#p9428
kein Support per PN / Messenger
no Support via PM / Messenger
no Support via PM / Messenger
Re: Link To Us - Block Custom Text
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>
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
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 href="' . $u_link . '" ' . (($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