Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
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 

Sponsored Links
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
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

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
here ya go.

Edit: Script removed.

Last edited by JoshPet; 11/29/2003 4:27 PM.
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
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.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
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.)

Sponsored Links
Joined: Sep 2003
Posts: 488
Code Monkey
Code Monkey
Joined: Sep 2003
Posts: 488
[]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.


Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
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.

Joined: Jan 2003
Posts: 141
Journeyman
Journeyman
Offline
Joined: Jan 2003
Posts: 141
If that's the case, I'll bet the birthday stuff doesn't work either.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
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.


Last edited by DrChaos; 11/28/2003 2:53 PM.
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
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.

Sponsored Links
Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
Delete away
I didnt know that part of their rule. I must have skipped that part.

Joined: Jan 2003
Posts: 141
Journeyman
Journeyman
Offline
Joined: Jan 2003
Posts: 141
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.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
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.

Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
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.

Joined: Sep 2003
Posts: 803
Coder
Coder
Offline
Joined: Sep 2003
Posts: 803
superb. thanks for all the help and hanging in there with all my questions Omegatron


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)