vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Report a Bug :: Resolved Bugs :: PM Notification Error - View Topic
Topic Rating: *****
Printable View
dog199200
Guest
PM Notification Error (19th Jul 09 at 1:22am UTC)
Resolved
Url: http://inuyashasworld.vforums.co.uk/
Browser: FF

I found an error with the PM Notification setup. For some reason it wont let me click on any of the links (Reply, View, Ignore) I think are the links. So i have to go to the userbar and click New PM to get the notification to go away.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 8 11
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: PM Notification Error (19th Jul 09 at 1:44am UTC)
Hi,

This is a code conflict on your forum. I've had a look through and this seems lik the most likely culprit since it refences a table by number rather than ID. And when the pop-up exists, there's an extra table at the very top of the page.


Code:
 
  1. get('table', 'tag')[1].cellSpacing = '1';  
  2. for(b = 0; b < 4; b++)
  3. get('br', 'tag').style.display = "none";
  4. with(get('forum_border_menu_holder', 'id')){
  5. var x = (vf_username == 'guest'? 3 : 6);
  6. for(n = 0; n < x; n++){
  7. appendChild(get('table', 'tag')[0]);
  8. if(n == 2 || n == 5)
  9. appendChild(document.createElement('br'));
  10. }
  11. }
 

Image
dog199200
Guest
Re: PM Notification Error (19th Jul 09 at 1:49am UTC)
Lovely, I need that coding for the design of my forum in order to add the welcome table within the frame of my forum. My javascript skills are very rusty and wrighty coded it in the first place so i'm not sure how to edit it in order to fix it.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 8 11
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: PM Notification Error (19th Jul 09 at 12:42pm UTC)
Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. get('welcome_table', 'id').cellSpacing = '1';
  4. for(b = 0; b < 4; b++) {
  5. get('br', 'tag')[b].style.display = "none"; 
  6. }
  7. with(get('forum_border_menu_holder', 'id')){
  8. var x = (vf_username == 'guest'? 3 : 6);
  9. var s = (get('table', 'tag')[0].className.match(/welcometable/))? 0 : 1;
  10. for(n = 0; n < x; n++){
  11. appendChild(get('table', 'tag')[s]);
  12. if(n == 2 || n == 5)
  13. appendChild(document.createElement('br'));
  14. }
  15. }
  16. // -->
  17. </script>
 


I've not tested it but that should work {Smile}

Image
dog199200
Guest
Re: PM Notification Error (19th Jul 09 at 5:53pm UTC)
Thanks Ross, now just got to wait till I get a pm on the forum to see if it works, if not then i'll bug wrighty {Tongue Out}
 Printable View

All times are GMT+0 :: The current time is 7:42pm
Page generated in 0.2788 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums