How to change "link to us"?

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
arteta79
Active Member
Posts: 19
Joined: 25. September 2008 14:38

How to change "link to us"?

Post by arteta79 »

Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Beginner
Boardlink: http://www.karapatis.com/forum

PHP Version: 3.02

What have you done before the problem was there?
The root of my forum is mysite/forum and not mysite/phpbb. how can i change this??????

What have you already tryed to solve the problem?


Description and Message
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: How to change "link to us"?

Post by Kevin »

This depends on a misconfiguration of your board. Set the correct script path in your ACP:
Server-configuration --> Server and Domain --> Script-path
~~~ 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
arteta79
Active Member
Posts: 19
Joined: 25. September 2008 14:38

Re: How to change "link to us"?

Post by arteta79 »

thnxxxx :D

dv-design
Active Member
Posts: 25
Joined: 22. October 2008 21:02

Re: How to change "link to us"?

Post by dv-design »

Kevin wrote:This depends on a misconfiguration of your board. Set the correct script path in your ACP:
Server-configuration --> Server and Domain --> Script-path
Id like this link to point at my home page (the portal page). I tried deleting the phpbb3 from the script path and it just puts phpbb3 back anyway. How can i get the link to point at my home page?

begemont
Active Member
Posts: 20
Joined: 6. June 2008 01:30

Re: How to change "link to us"?

Post by begemont »

I want to make my own text
How can I do it?
User avatar

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

Re: How to change "link to us"?

Post by Mike »

open: root/language/en/mods/lang_portal.php

search for: (line 167)

Code: Select all

'LINK_US_TXT'	=> 'Please feel free to link to <strong>%s</strong>. Use the following HTML:',
... and replace with

Code: Select all

'LINK_US_TXT'	=> 'what ever you want',
kein Support per PN / Messenger
no Support via PM / Messenger

begemont
Active Member
Posts: 20
Joined: 6. June 2008 01:30

Re: How to change "link to us"?

Post by begemont »

thanks for answer
but I want to change the link (html)
sorry for my english
User avatar

Ice
Former Team Member
Posts: 359
Joined: 20. January 2008 23:43
Location: England, United Kingdom

Re: How to change "link to us"?

Post by Ice »

Currently the link is created from phpbb variables, but on some installations it goes a bit weird. To manually change the link look through /portal/block/link_us.php
Board3 Portal Dev & English Tech Support

Amo
Active Member
Posts: 6
Joined: 11. April 2009 23:36
phpBB.com User: Amo

Re: How to change "link to us"?

Post by Amo »

Ice wrote:Currently the link is created from phpbb variables, but on some installations it goes a bit weird. To manually change the link look through /portal/block/link_us.php
I've looked through this file. I understand PhP to a very limited degree. I looked through, what it says makes sense to me. I can pick it apart, but I have no idea how to add in my own code. All I want to do instead is make it basically do this:

Code: Select all

<a href="website"><img src="mybutton"></a>
=/

Edit: nvm, I think I'm just going to try and make myself a much less complicated block...
Edit2: Now I see why it's so complicated -_-

Amo
Active Member
Posts: 6
Joined: 11. April 2009 23:36
phpBB.com User: Amo

Re: How to change "link to us"?

Post by Amo »

I'm so close I can taste it. I'm just having one problem, which is getting the actual link into the quotations, but damn, I think I'm doing alright for not really knowing anything about this. This is my code:

Code: Select all

'U_LINK_US'			=> '<a&nbsp;href="' . $u_link . '"&nbsp;' . (($config['site_desc']) ? '<img&nbsp;src="' . $config['http://www.buttonlink.com/images/img.gif'] . '"' : '' ) . '>' . (($config['sitename']) ? $config['sitename'] : $u_link ) . '</a>',
That's line 29 of portal/block/link_us.php
If anyone could help me, I'd very much appreciate it :D
User avatar

PeterS
Former Team Member
Posts: 246
Joined: 15. January 2008 08:41
phpBB.de User: PeterS
phpBB.com User: PeterS

Re: How to change "link to us"?

Post by PeterS »

Hi Amo,

may this helps you viewtopic.php?f=10&t=1696

Peter

Amo
Active Member
Posts: 6
Joined: 11. April 2009 23:36
phpBB.com User: Amo

Re: How to change "link to us"?

Post by Amo »

PeterS wrote:Hi Amo,

may this helps you viewtopic.php?f=10&t=1696

Peter
This worked, I had to change the $u_link path but it worked. Thank you very much, really appreciate the help :D
Locked

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