php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#200107 - 06/02/03 10:18 PM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA

   Re: [6.4 - 6.5] Signature Preview to Del.icio.us Add to del.icio.us
  Digg Re: [6.4 - 6.5] Signature Preview Digg it
in the sig preview, it will convert all ubbcode, but leave

[code][/code]I don't know why it does that, and since you have it working on css I was wondering if any changes were needed
_________________________
Code monkey like Fritos

Top
#200108 - 06/02/03 10:40 PM Re: [6.4 - 6.5] Signature Preview
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25408
Loc: Texas
Shouldn't need changes for that... the conversion code for that is in ubb_lib_posting and the css stuff shouldn't touch that smile
_________________________
- Allen wavey
- What Drives You?

Top
#200109 - 06/02/03 10:46 PM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
that's what I thougt, darn *goes off to look at code*
_________________________
Code monkey like Fritos

Top
#200110 - 06/03/03 12:28 AM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
ok, now I'm completely confused. It'll convert ubbcode and graemlins, but not the [img] tag.

I checked and my img code stuff hasn't been changed in the reverse_ubb_code or prep_for_edit.

The sig looks right when in posts, and images are enabled in sigs. I have no clue what it could be frown
_________________________
Code monkey like Fritos

Top
#200111 - 07/23/03 06:22 AM Re: [6.4 - 6.5] Signature Preview
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
for some reason I missed this old thread...
anyhow, find:
Code:
	$user_profile[12] =~ s/(<img border="0" alt=".+?" title="" src=")(graemlins/.+?)(" />)/$1$vars_config{NonCGIURL}/$2$3/isg;
add below:
Code:
	$user_profile[12] =~ s/([IMG])(S+?)([/IMG])/&imageize($2)/eisg if $vars_display{AllowSignatureImage} ne 'no';
only half-tested, but should work smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#200112 - 07/23/03 09:03 AM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
*bows to LK*
Worked perfectly smile
_________________________
Code monkey like Fritos

Top
#200113 - 07/23/03 02:53 PM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
nm, it was my mistake
_________________________
Code monkey like Fritos

Top
#200114 - 07/25/03 07:45 PM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
ok, this is gonna sound weird, but the graemlins are messing up. They show up fine, but then show up as html in the sig textarea and is removed when it's updated. I didn't modify anything pertaining to graemlins, I don't know why it won't work
_________________________
Code monkey like Fritos

Top
#200115 - 08/02/03 01:14 AM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
Code:
<img border="0" title="" alt="[Wink]" src="http://www.alforadmin.com/ubb/wink.gif" />
that's what shows up in the sig editing box, but it looks fine in the preview cell.

Any help?

ok, I looked and it's a problem with my ubb code itself, somehow calling gramelins has changed
_________________________
Code monkey like Fritos

Top
#200116 - 08/02/03 01:47 AM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
ok, after some tinkering I got this.

if I comment out...
Code:
	$user_profile[12] =~ s/(<img border="0" title="" alt=".+?" src=")(.+?)(" />)/$1$vars_config{NonCGIURL}/$2$3/isg;
then it doesn't convert to html when being edited, but it shows a red x and the url is noncgiURL/smile.gif etc.

If I comment out
Code:
	$user_profile[12] =~ s/(<img border="0" alt=".+?" title="" src=")(graemlins/.+?)(" />)/$1$vars_config{NonCGIURL}/$2$3/isg;
but not the first one, it shows up fine but becomes html when edited.

I have no problems when editing a post, or quoting a post, it's only in the sig, and when I remove the sig preview, it works fine
_________________________
Code monkey like Fritos

Top
#200117 - 08/13/03 07:05 PM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
there isn't a graemlinize that I don't know about is there?
_________________________
Code monkey like Fritos

Top
#200118 - 08/18/03 12:27 AM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
now that Allen and LK are back, can anyone help?
_________________________
Code monkey like Fritos

Top
#200119 - 08/31/03 12:06 AM Re: [6.4 - 6.5] Signature Preview
Ian Spence Offline
Master Hacker

Registered: 01/25/03
Posts: 3765
Loc: Saint Johns, PA
hey Allen, any chance of getting this updated? I noticed that UBBDEV's graemlins don't work in sig preview either
_________________________
Code monkey like Fritos

Top
Page 2 of 2 < 1 2


Moderator:  Charles, Gizmo 
Top Posters Last 30 Days
AllenAyres 18
Gizmo 12
sirdude 6
GEN 3
tackaberry 2
Philipp 2
willing 2
Who's Online
0 Registered (), 35 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
[7.2.1] - Naked shoutbox
by Iann128
08/22/08 07:27 PM
Nice Ajax Chat
by M4D
08/21/08 10:02 PM
51-card NVIDIA folding rig cranks out 265,200 ppd
by AllenAyres
08/13/08 10:10 PM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.x] AddThis - Social Networking
by Gizmo
08/01/08 01:30 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.3] Dissallow quotes more then 3 levels deep
by blaaskaak
06/09/08 09:01 AM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
Newest Members
welcomeback1, Paug, Tim Keating, anscers, Murphdog
13324 Registered Users

 

 

 
fusionbb message board php hacks