Sub Menu
Links Menu
Online Users

In total there are 310 users online :: 1 registered, 0 hidden and 309 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Google [Bot] based on users active over the past 60 minutes

html will not work in signature

Support for IntegraMOD 141

Moderator: Integra Moderator

html will not work in signature

PostAuthor: ayasha » Sun Jan 21, 2007 7:46 pm

Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL: http://www.graphicsplayhouse.com/forum

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

for some reason the html code that some of my members use in their signatures is not longer working, here is the code

[code]<img src="http]

could anyone help me?

also, i have to ask, but right about the quick reply box, there is a topic status form, what is that for?
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

PostAuthor: ayasha » Mon Jan 22, 2007 9:11 am

i have found out today, that for some reason a period is thrown in the code between // and .scripts like below

<img>
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

PostAuthor: Fubie » Mon Jan 22, 2007 10:21 am

I believe this was put into place to keep java code/.scripts from running malicious code on the forum.
Last edited by Fubie on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http][img=left]http://www.myhorrorstories.com/files/bannerexchange.gif[/img][/url]

[url=http][img=left]http://www.fubie.net/images/geekstufflarge.jpg[/img][/url]

Fubie
Dev Team
Dev Team
 
Posts: 742
Likes: 0 post
Liked in: 0 post
Joined: Sat Mar 11, 2006 6:52 pm
Cash on hand: 0.00

PostAuthor: ayasha » Mon Jan 22, 2007 10:28 am

but this code will work in other places on the forum

like a post and portal blocks, so what is the difference?


well, does anyone know of a good graphic hosting site that allows for random signatures to be display on page refresh with bbcode then?
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

Re: html will not work in signature

PostAuthor: Teelk » Mon Jan 22, 2007 2:09 pm

I thought I had caught all the places that needed to have the period removed. I'll work on a fix...
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: ayasha » Mon Jan 22, 2007 2:41 pm

thank you so much Teelk, it will make all my members very happy <img>
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

Re: html will not work in signature

PostAuthor: Teelk » Mon Jan 22, 2007 4:20 pm

This fix will also remove the period from the word .script when viewing post previews.

OPEN posting.php
FIND
Code: Select all
        $preview_message = str_replace("n", '<br>', $preview_message);
BEFORE ADD
Code: Select all
        if ( strpos($preview_message, '..script') !== false)         {             $preview_message = str_replace("..script", ".script", $preview_message);         }  


OPEN viewtopic.php
FIND
Code: Select all
    $user_sig = ( $postrow[$i]['enable_sig'] && $postrow[$i]['user_sig'] != '' && $board_config['allow_sig'] ) ? $postrow[$i]['user_sig'] : '';  
AFTER ADD
Code: Select all
    if ( strpos($user_sig, '..script') !== false) {         $user_sig = str_replace('..script','.script', $user_sig);     }  


OPEN profilcp/profilcp_profil_signature.php
FIND
Code: Select all
    $signature               = htmlspecialchars(stripslashes($view_userdata['user_sig']));

AFTER ADD
Code: Select all
    if ( strpos($signature, '..script') !== false) {         $signature = str_replace('..script','.script', $signature);     }  
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: ayasha » Mon Jan 22, 2007 6:39 pm

thanks Teelk! it worked <img>
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

PostAuthor: ayasha » Mon Jan 22, 2007 7:10 pm

i am back <img>

i have noticed that my siggie is not showing in my profile, could this be because of the .script i am using?
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00

Re: html will not work in signature

PostAuthor: Teelk » Mon Jan 22, 2007 7:27 pm

Well, I can't get the img tag to work for some reason. You can use the img bbcode though. In ACP>General Admin>Configuration, scroll down to "Signature Settings" and tick the box "Allow if impossible to control". Hit submit and then use the following img bbcode in your signature.

You'll receive error messages, but it will work.
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: ayasha » Mon Jan 22, 2007 8:19 pm

"Teelk";p="20149" wrote:Well, I can't get the img tag to work for some reason. You can use the img bbcode though. In ACP>General Admin>Configuration, scroll down to "Signature Settings" and tick the box "Allow if impossible to control". Hit submit and then use the following img bbcode in your signature.

You'll receive error messages, but it will work.


is there a special bbcode? anyway, if it gives you errors, that is ok, the sig seems to show everywhere else.
Last edited by ayasha on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 5:10 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: Google [Bot]

cron