How to link forum name?

Started by LETO, October 28, 2009, 01:19:30 AM

Previous topic - Next topic

LETO

Hi guys!
I have some trouble like I want to link my forum in to my main site so I would like to do that by linking my forum name to my home site so anyone have some idea?

cheers!  :)

sshahnawaz

You can edit your theme files for this, but the easy way is: Use custom HTML in some portal mod block. Do you have some portal installed?
How to Make Money Online - Urdu Description https://www.youtube.com/watch?v=0Deggh2ZxNE

LETO

Quote from: sshahnawaz on October 28, 2009, 04:37:00 AM
You can edit your theme files for this, but the easy way is: Use custom HTML in some portal mod block. Do you have some portal installed?
no men I don't like(need) portal, cause I have home site with webspell installed and I using smf for my forum thats all, thx for reply! and how could I edit my theme file for this?
cheers!

Forbs

i m not sure but i think this can be done in index.teamplate..

LETO

Quote from: Forbs on October 28, 2009, 09:42:17 AM
i m not sure but i think this can be done in index.teamplate..
hmm ok mate is that all u know or?
cheers :)

Butcher

you r forum name is on index.template.php

To make a word link follow this example:


<a href="your_link_here" target="_blank">Forum Name</a>


change the  target="_blank" to  target="_self" if you want to open the page in the same window

is this what you want or i misunderstood your question?

LETO

Quote from: Butcher on October 28, 2009, 01:48:11 PM
you r forum name is on index.template.php

To make a word link follow this example:


<a href="your_link_here" target="_blank">Forum Name</a>


change the  target="_blank" to  target="_self" if you want to open the page in the same window

is this what you want or i misunderstood your question?
yeah hope this thing will work bro! will reply soon after check this! and its 12.35am here...
cheers!  8)

sshahnawaz

Don't forget to have a backup before editing something manually.
Cheers!
How to Make Money Online - Urdu Description https://www.youtube.com/watch?v=0Deggh2ZxNE

LETO

Quote from: Butcher on October 28, 2009, 01:48:11 PM
you r forum name is on index.template.php

To make a word link follow this example:


<a href="your_link_here" target="_blank">Forum Name</a>


change the  target="_blank" to  target="_self" if you want to open the page in the same window

is this what you want or i misunderstood your question?
thx boss but i think this is not enough to do it :) I want to make my Forum name to link my home site..look at my attachment(I want to link that team-perks.net to my home site)
cheers!

Butcher

You want to link the team-perks text above the public area. I think what i gave you is what you want.

In $themedir/your_theme open index.template.php

find:

<td valign="bottom"><span class="pathway">&nbsp;Team-PeRks.net</span></td>


change to:

<td valign="bottom"><span class="pathway">&nbsp;<a href="[b]your_link_here[/b]" target="_blank">Team-PeRks.net</a></span></td>


change the  target="_blank" to  target="_self" if you want to open the page in the same window

why this is not enough to make a simple link?

LETO

Quote from: Butcher on October 29, 2009, 03:47:45 PM
You want to link the team-perks text above the public area. I think what i gave you is what you want.

In $themedir/your_theme open index.template.php

find:

<td valign="bottom"><span class="pathway">&nbsp;Team-PeRks.net</span></td>


change to:

<td valign="bottom"><span class="pathway">&nbsp;<a href="[b]your_link_here[/b]" target="_blank">Team-PeRks.net</a></span></td>


change the  target="_blank" to  target="_self" if you want to open the page in the same window

why this is not enough to make a simple link?
Thx for u r time mate I don't know WTF is this I can't find such a code in my index.template so I thought to attach it to my first post so if u like pls take a look at it?
thx
cheers!

Butcher

#11
How did you add this text? I assume that this is from news, if so do as i said before -> <a href="your_link_here" target="_blank">Team-PeRks.net</a>

if not i really can't figure it out :/

LETO

Quote from: Butcher on October 30, 2009, 03:02:38 PM
How did you add this text? I assume that this is from news, if so do as i said before -> <a href="your_link_here" target="_blank">Team-PeRks.net</a>

if not i really can't figure it out :/
hey thx for reply
actually that is my forum name....Path is Admin>Server Settings>Forum Title! and I want to make this name link to my home site...>>>
cheers!

Butcher

You found from where this title come from but i guess that you don't even try to add it like i said 3 times.

I don't know if this can be done on forum title at Server settings but if u don't try it you will never see if it works ;)

Add this as forum title:

<a href="replace_this_with_your_link" target="_blank">Team-PeRks.net</a>

JimM

Is this issue solved or do you still require assistance?
Jim "JimM" Moore
Former Support Specialist

LETO

Quote from: Butcher on October 31, 2009, 01:47:30 PM
You found from where this title come from but i guess that you don't even try to add it like i said 3 times.

I don't know if this can be done on forum title at Server settings but if u don't try it you will never see if it works ;)

Add this as forum title:

<a href="replace_this_with_your_link" target="_blank">Team-PeRks.net</a>

hey thx for reply man but matter also remain :( link working now but some kind to strange text can be c now top of my forum  :-X

Quote from: JimM on November 02, 2009, 02:46:12 PM
Is this issue solved or do you still require assistance?
yes u r right! still require assistance?  :'(

Tyrsson

Are you wanting to link the logo image or the actual forum name that is set in the server settings area?
PM at your own risk, some I answer, if they are interesting, some I ignore.

DavidCT

I'm assuming he wants to be able to click on his graphic in the header and have it bring the user to his root page...

Edit Themes/default/index.template.php. find:

<body>';

echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';


change to


<body>';

echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="10" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32"><a href="http://', $_SERVER['HTTP_HOST'], '/">';


added as <a href="http://', $_SERVER['HTTP_HOST'], '/"> but you can hardcode your url.

then find:

<img src="', $settings['header_logo_url'], '" style="margin: 0px;" alt="', $context['forum_name'], '" />';

echo '
</td>


and add </a> to it

<img src="', $settings['header_logo_url'], '" style="margin: 0px;" alt="', $context['forum_name'], '" />';

echo '
</a></td>


sshahnawaz

I would like to suggest you not to do such a difficult thing if you can't. Please consider having a big image banner to your website instead. This is easy to do.  :)
How to Make Money Online - Urdu Description https://www.youtube.com/watch?v=0Deggh2ZxNE

DavidCT

Not intended to flame, but if your english was a little better maybe we can understand...

What I told you to do WOULD link your forum to your site, except don't use the $_SERVER method, hardcode it instead (since your forum is forum.domain.com and not domain.com/forum/)


<body>';

   echo '
   <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
      <table width="100%" cellpadding="10" cellspacing="0" border="0">
         <tr>
            <td class="catbg" height="32"><a href="http://www.team-perks.net/">';

Advertisement: