UBB.Dev
Posted By: DrChaos sig Images not showing in posts. - 11/28/2003 3:59 PM
I am having an issue on my forum. when you make a post or reply to a post, you can see your sig image on the preview screen. When you submit it and then choose view your post the image is gone? My forum isnt public yet so there are only a about 5 reged users and it happens to all of us.
The "Add signature to this post" is checked and the setting in the admin section that says "Allow the [image] markup tag to be used in forums" is checked to yes.

Anything come to mind.. if needed I can list the mods I added to see if something would have caused it. I only added about 5 mods.

in the personal settings everyone is set to these options too.
Code
 View other user's pictures in their profile? <br /> Yes <br /> <br />View user's pictures with their posts? <br /> Yes <br /> <br />Do you want to view other user's signatures with their posts <br /> yes 
Posted By: Twisty Re: sig Images not showing in posts. - 11/28/2003 4:26 PM
Could you upload your addpost.php file? It's almost impossible to provide any meaningful advice for something like this without seeing tha actual code
Posted By: DrChaos Re: sig Images not showing in posts. - 11/28/2003 4:31 PM
here ya go.

Edit: Script removed.
Posted By: Twisty Re: sig Images not showing in posts. - 11/28/2003 5:03 PM
A few questions...

1) Has it ever worked correctly (ie. even before you started modding)?

2) Which version of uBB threads are you using?

3) Could you list the mods you installed?

I'm on 6.3.2 so may not be able to help as much as someone with the same one as you.

If worst comes to worst, you can always start fresh and start remodding all over again. But this time test after each one to find out the culprit.
Posted By: DrChaos Re: sig Images not showing in posts. - 11/28/2003 5:21 PM
Its worked since the install and when i upgraded to 6.4 but I didnt notice when it had stopped. here is the mods I added in the order that I added them.

I am on ver 6.4b1

I added the mod that adds the name of the person on the quote.
I added the whos online mod for the main page. (I know it worked after that)
I added the iip mod.
I also added the url modifier mod. (to make the url shorter in posts)
The last mod was the user rating image. (im thinking its that one.)
Posted By: Twisty Re: sig Images not showing in posts. - 11/28/2003 6:20 PM
[]DrChaos said:
The last mod was the user rating image. (im thinking its that one.) [/]

Yep, I very much agree (assuming you're referring to the one located here...)
https://www.ubbdev.com/forum/showflat.../o/all/fpart/1

That puppy would wreak havoc if you merely copy/pasted the stuff from there instead of manually inserting specific things in the precise location.

Posted By: DrChaos Re: sig Images not showing in posts. - 11/28/2003 7:05 PM
yep, That be da one

Im going to trace the steps right now. I copy and pasted everything in that mod.....
arrrg. lol. ill post how it turns out.
Posted By: dman_dup1 Re: sig Images not showing in posts. - 11/28/2003 8:14 PM
If that's the case, I'll bet the birthday stuff doesn't work either.
Posted By: DrChaos Re: sig Images not showing in posts. - 11/28/2003 8:31 PM
doh? what b-day stuff?

Addon:

ok, I loaded the original files back in (thank god for backups) and the images are showing up now.....

am I going to have to type everything by hand to get it to work if I cant copy and paste? If so I might have to do without this lil mod.

Posted By: omegatron Re: sig Images not showing in posts. - 11/28/2003 10:23 PM
Please refrain from asking for or posting ENTIRE copyrighted Infopop scripts here PLEASE. It is a violation of Infopop's copyright and forum rules.

You may post code snippets etc but that is all. Templates are the only thing allowed to be posted in its entire format.
Posted By: DrChaos Re: sig Images not showing in posts. - 11/28/2003 11:31 PM
Delete away
I didnt know that part of their rule. I must have skipped that part.
Posted By: dman_dup1 Re: sig Images not showing in posts. - 11/29/2003 12:11 AM
My bad, I looked and I don't think that one messes with the bday stuff. I was thinking about a different mod......some of the long lines need to be matched up very carefully on some of these mods and just the extra part needs to be inserted instead of copying and pasting.
Posted By: DrChaos Re: sig Images not showing in posts. - 11/29/2003 12:19 AM
lol, k im gonna leave this one for now. :P

Im now looking on, how to make the side where your name and pic is for your post, not so wide. i need to get mine a little smaller to make everything look perfect..... its where this stuff is on the left.

DrChaos
Power User
(stars)
(haxxor image)
(my pic)
Reged: 09/12/03
Posts: 70
Loc: Hollywood Florida.
Posted By: omegatron Re: sig Images not showing in posts. - 11/30/2003 12:33 AM
It is the following code in showflat.tmpl and the similar code in showthreaded.tmpl

Code
 <td rowspan="2" width="17%" valign="top" class="darktable"><br /><a name="Post{$postrow[$i]['Number']}"></a><br /><table border="0" cellpadding="0" cellspacing="0"><br /><tr><br /><td><br /><b>{$postrow[$i]['Username']}{$postrow[$i]['UserStatus']}</b><br /></td><br /></tr><br /><tr><br /><td class="small"><br />{$postrow[$i]['Title']}<br /></td><br /></tr><br /><tr><br /><td class="small"><br /><b>{$postrow[$i]['Rating']}</b><br /></td><br /></tr><br /><tr><br /><td class="small"><br />{$postrow[$i]['Picture']}<br /><br /><br /></td><br /></tr><br /><tr><br /><td class="small"><br />{$postrow[$i]['Registered']}<br /></td><br /></tr><br /><tr><br /><td class="small"><br />{$postrow[$i]['TotalPosts']}<br /></td><br /></tr><br /><tr><br /><td class="small"><br />{$postrow[$i]['Location']}<br /></td><br /></tr><br /></table><br /></td><br /><td width="83%" class="{$postrow[$i]['subjectclass']}"><br /><table width="100%" class="{$postrow[$i]['subjectclass']}" border="0" cellpadding="0" cellspacing="0"><br /><tr><br /><td align="left" width="70%" valign="top"><br /><img src="{$config['images']}/icons/{$postrow[$i]['Icon']}" {$images['icons']} alt="" $imagestyle /><br /><b><br />{$postrow[$i]['Subject']}<br /></b><br /> {$postrow[$i]['newimage']}<br />{$postrow[$i]['replyto']} <br /><br /><br />&nbsp;<br />&nbsp;<br />&nbsp;<br /><font class="small"><br /><a name="#{$postrow[$i]['Number']}">#{$postrow[$i]['Number']} - {$postrow[$i]['time']} <i>{$postrow[$i]['IP']}</i> {$postrow[$i]['filelink']}</a><br /></font><br /></td><br /><td align="right" width="30%"><br /><br /><table class="tablesurround" border="0"><br /><tr><br /><td class="navigation" nowrap="nowrap"><br />{$postrow[$i]['editlinkstart']}<br /><img src="{$config['images']}/edit.gif" border="0" alt="{$ubbt_lang['PEDIT_HEAD']}" width="21" height="14" $imagestyle /><br />{$ubbt_lang['EDIT_ICON']}<br />{$postrow[$i]['editlinkstop']}<br />&nbsp;<br /></td><br /><td class="navigation" nowrap="nowrap"><br />{$postrow[$i]['replylinkstart']}<br /><img src="{$config['images']}/reply.gif" border="0" alt="{$ubbt_lang['REPLY_POST']}" width="27" height="14" $imagestyle /><br />{$ubbt_lang['REPLY_ICON']}<br />{$postrow[$i]['replylinkstop']}<br />&nbsp;<br /></td><br /><td class="navigation" nowrap="nowrap"><br />{$postrow[$i]['quotelinkstart']}<br /><img src="{$config['images']}/quote.gif" border="0" alt="{$ubbt_lang['REPLY_POST']}" width="27" height="14" $imagestyle /><br />{$ubbt_lang['QUOTE_ICON']}<br />{$postrow[$i]['quotelinkstop']}<br />&nbsp;<br /></td><br /></tr><br /></table><br /><br /></td><br /></tr><br /></table><br /></td><br /></tr><br /><tr><br /><td width="83%" class="lighttable"><br /> 


Make sure to replace the 17 with a smaller number. If you say replace it with 13 then make sure the 83( two instances ) are replaced with 87. The sum of the table row width should be 100.
Posted By: DrChaos Re: sig Images not showing in posts. - 11/30/2003 8:16 AM
superb. thanks for all the help and hanging in there with all my questions Omegatron
© UBB.Developers