Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: gioxxxx on July 29, 2008, 03:12:08 PM

Title: HTML in Signature
Post by: gioxxxx on July 29, 2008, 03:12:08 PM
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
Title: Re: HTML in Signature
Post by: 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

Title: Re: HTML in Signature
Post by: gioxxxx on July 29, 2008, 04:02:23 PM
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
Title: Re: HTML in Signature
Post by: ccbtimewiz on July 29, 2008, 04:03:43 PM
Is BBcode enabled? Are the [*url] and [*img] tags permitted? Did you enable basic HTML?
Title: Re: HTML in Signature
Post by: gioxxxx on July 29, 2008, 04:06:51 PM
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
Title: Re: HTML in Signature
Post by: 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?
Title: Re: HTML in Signature
Post by: gioxxxx on July 29, 2008, 04:13:11 PM
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
Title: Re: HTML in Signature
Post by: 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?
Title: Re: HTML in Signature
Post by: gioxxxx on July 29, 2008, 05:11:04 PM
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?  :(
Title: Re: HTML in Signature
Post by: greyknight17 on August 03, 2008, 04:03:31 PM
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.