News:

Wondering if this will always be free?  See why free is better.

Main Menu

HTML in Signature

Started by gioxxxx, July 29, 2008, 03:12:08 PM

Previous topic - Next topic

gioxxxx

Hi
I have SMF 1.1.5 and I want to make HTML codes to work in Signature. for example to put Adsense or Adbrite code and it shows ads in signature. I'v seen on this forum some use image banners in there signature. is that possible on SMF 1.1.5?
thanks

ccbtimewiz

You can do similar using BBCode, as HTML is quite dangerous to permit in a public forum.

[url=%url][img]%img[/img][/url]

With %url as the URL and %img as the image link.

However if you can't accomplish doing this with BBcode, enable HTML in Admin > Posts and Topics > BBcode => "Enable basic HTML".

Then use:

<a href="%url" target="%tar"><img src="%img" alt="*" border="0" /></a>

%url as the link
%tar as the target; _blank or _self. _self makes it open in the same window/tab and _blank does a new tab/window.
%img as the URL to the image


gioxxxx

Quote from: ccbtimewiz on July 29, 2008, 03:15:34 PM
You can do similar using BBCode, as HTML is quite dangerous to permit in a public forum.

[url=%url][img]%img[/img][/url]

With %url as the URL and %img as the image link.

However if you can't accomplish doing this with BBcode, enable HTML in Admin > Posts and Topics > BBcode => "Enable basic HTML".

Then use:

<a href="%url" target="%tar"><img src="%img" alt="*" border="0" /></a>

%url as the link
%tar as the target; _blank or _self. _self makes it open in the same window/tab and _blank does a new tab/window.
%img as the URL to the image


I don't know if I'm doing it wrong or its not working at all but fact is it's not working even with your suggestion. anything els I can do to make it work?
thanks

ccbtimewiz

Is BBcode enabled? Are the [*url] and [*img] tags permitted? Did you enable basic HTML?

gioxxxx

Quote from: ccbtimewiz on July 29, 2008, 04:03:43 PM
Is BBcode enabled? Are the [*url] and [*img] tags permitted? Did you enable basic HTML?
yes all tags are permitted BBC and HTML is enabled too

ccbtimewiz

Strange. Did you install any modifications lately? Any errors in the error log? Link to website?

gioxxxx

Quote from: ccbtimewiz on July 29, 2008, 04:07:37 PM
Strange. Did you install any modifications lately? Any errors in the error log? Link to website?
those are the mods that I have for a while no problems:
1.     Contact Page      1.1      
2.    Googlebot & Spiders Mod    2.0.3    
3.    Anti-Bot Registration Puzzles    1.2    
4.    Registration - Show Gender mod    1.0.0    
5.    Enhanced Calendar    1.1    
6.    Chatroom Button    1.01    
7.    Board Viewers Mod    1.2
8.    Profil Moderator Managment    1.0.0    
9.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    
10.    JPG Thumbnails    1.0    
11.    Add Domaintools to TrackIP    1.0    
12.    Global Headers Footers    1.3    
13.    YouTube BBCode    1.7    
14.    SMF 1.1.4 Search "brd" Bug Fix (1.0.1)    1.0.1    
15.    SMF File Manager    2.0.3    
16.    Popup PM Message - Uses The Same Window    1.3    
17.    Urlobox - shoutbox    1.0.3    
18.    Enchanced post template    1.0.2    
19.    Custom Action Mod    2.04    
20.    Your Button    1.1    
21.    SMF Arcade    2.0.13
22.    Website Button    1.1.4    
23.    Ad Managment    2.3    
24.    Downloads System    1.0.4    
25.    Auto Email Inactive Users    1.7    
26.    Who Voted What?    1.1.5

ccbtimewiz

Those modifications shouldn't really do anything to your signature area.

Can you show me your website?

gioxxxx

sure
Quote from: ccbtimewiz on July 29, 2008, 04:16:13 PM
Those modifications shouldn't really do anything to your signature area.

Can you show me your website?
sure www.freefungz.com
may be I'm doing somthing wrong?  :(

greyknight17

Can't think of how to accomplish this at the moment. HTML can be allowed in signatures but keep in mind that it will only support basic HTML tags. Google's Adsense and others probably use javascript also and this is probably where the problem comes in.

If you want, we can move this over to the Mod Request board for you.

Advertisement: