Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2006
Posts: 9
stranger
stranger
Joined: Sep 2006
Posts: 9
I've upgraded two forums and everything seems to work nicely...except for PMs. When I write a pm to another user and click on the submit button, nothing happens.

Preview works, but submit does nothing.

Has anyone else experienced this?

*edit* Okay, I just played with things here to see how it works. Not only does the Submit button not work, but the "Add" button doesn't work either.

Last edited by hatter; 12/29/2006 2:43 PM.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Was this an upgrade from 7.0/7.0.1 or from an earlier version. When the submit button is pushed it does run a javascript function. I believe this has changed a bit, so you may want to close your browser and reopen to make sure you don't have the old javascript library cached.

If it still does it after that, then you may want to check for javascript errors. In IE, you should get a little error down in the bottom left of the browser. If you're using Firefox then you'll want to open up the Error Console under Tools and see if it shows any errors there.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Just saw your edit. What browser are you using and do you have javascript enabled?

Joined: Sep 2006
Posts: 9
stranger
stranger
Joined: Sep 2006
Posts: 9
This is originally an upgrade from an earlier version, though I have gone through the 7.0, 7.0.1, and now 7.0.2.

It still does this when I clear the cache. I'm using firefox, and here is the error from the console:

Error: pmLimit is not defined
Source File: http://www.carfaxabbey.net/forum/ubb_js/pt.js
Line: 20

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, this sounds like maybe a file wasn't uploaded. Can you check in your templates/default directory and look at the sendprivate.tpl file. If you have the latest uploaded you should see this at the start:

Code
{* Script Version 7.0.2 *}
<script language="Javascript" type="text/javascript">
var dupUser = "{$lang.ALREADY_ADDED}";
var tooMany = "{$lang.TOO_MANY}";
var pmLimit = "{$config.PM_PARTICIPANTS}";
</script>

Last edited by Rick; 12/29/2006 2:58 PM. Reason: Edited, because I'm a moron
Joined: Sep 2006
Posts: 9
stranger
stranger
Joined: Sep 2006
Posts: 9
Interesting...I checked that directory and found a lot of files like this:

%%15^152^1522C7EE%%sendprivate.tpl.php

I'll redownload the archive and check it out

Last edited by hatter; 12/29/2006 2:56 PM.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
I'm retarded this morning. I meant the templates/default. My apologies frown

Joined: Sep 2006
Posts: 9
stranger
stranger
Joined: Sep 2006
Posts: 9
It's all good. This is what I have. Perhaps I missed a config option somewhere?

Code
{* Script Version 7.0.2 *}
<script language="Javascript" type="text/javascript">
var dupUser = "{$lang.ALREADY_ADDED}";
var tooMany = "{$lang.TOO_MANY}";
var pmLimit = "{$config.PM_PARTICIPANTS}";
</script>


Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
It's possible. First thing, check and make sure that you have something set under Control Panel -> Feature Settings -> Maximum number of users that can be invited to a Private Topic?

Joined: Sep 2006
Posts: 9
stranger
stranger
Joined: Sep 2006
Posts: 9
Checked:

Max # messages per user: 300
Max number of users that can be invited: 5

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, I just registered on your site and when looking at the source of the sendprivate page it looks like it might have an old copy cached. Try this. Go into your templates/compile directory, yes I do mean templates/compile this time smile , and delete all of the files. This will clear out any of the old cached templates and make sure it generates a new copy.

Joined: Sep 2006
Posts: 9
stranger
stranger
Joined: Sep 2006
Posts: 9
That worked like a charm, thanks!

Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
I know you have resolved this but thought i would mention
also that with Norton Firewall,
they have a popup blocker which can be turned on and off
per site.

This can cause strange behavious on submit buttons.
As in it works and it dont work.
Bare that in mind.

Only info smile


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Imo, norton products have so gone downhill since Symantec acquired the name...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Agreed mad

Joined: Aug 2006
Posts: 1,649
Likes: 1
Pooh-Bah
Pooh-Bah
Joined: Aug 2006
Posts: 1,649
Likes: 1

People still use Norton??

Eww. Norton *always* crashed my system whenever I even tried installing it, let alone using it!

I caught a Boot Sector Virus years ago -- and ONLY McAfee fixed it. Never turned back. wink


GangsterBB.NET (Ver. 7.6.1.1)
PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Joined: Nov 2006
Posts: 3,095
Likes: 1
Carpal Tunnel
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095
Likes: 1
Well being in the US we know of Symantec and McAfee as being the top dogs, but in Europe Kaspersky is top dog and by many analyst in the field probably the best in the industry.

I really dislike both Symantec and McAfee and have recently started not using any AV software on my system. I have a Ghost image of the main system and store data on another drive.
Been running this way now for months no problem. Downloaded and installed some AV and AntiSpyware and neither found anything - system runs so much faster and smoother without those pieces of junk being installed.

.

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
I do like McAffee, but all of that new fangled gloriness is too expensive for my tastes...

I've always loved symantec over the years, and still use their virus scanner utility (formerly norton) but that will stop soon since they're getting ready to only support windows vista and i refuse to use it).

I feel that one does need to have a virus scanner, but some of these free programs lack what i need, and the pay to use ones are too expensive :cough:...

I try to check my system for spyware/trojans every so often (spybot and adaware) but for the most part, those are the only utilities i use (short of norton corporate virus scanner)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 458 guests, and 91 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)