vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Report a Bug :: Resolved Bugs :: Welcome table Template Problem - View Topic
Topic Rating: *****
Printable View
dog199200
Guest
Welcome table Template Problem (18th Jan 10 at 10:20pm UTC)
Resolved
URL: http://www.forum.divineshadowsonline.com

Ross for some reason when i remove the head and base tags from within the Welcome Table template, it removed the welcome table area completely {Unsure} even though it was just the head and base tags that was removed.

I'm also have problems with removing the user bar completely, its creates a between the logo and the top of the forum taht shouldn't be there, and it does it when the head and base images are removed.
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Welcome table Template Problem (18th Jan 10 at 10:51pm UTC)
It looks to be a code conflict:

http://www.forum.divineshadowsonline.com/noheaders/1

Try removing any codes which modify the welcome table, particularly any which are no longer needed {Smile}

Image
dog199200
Guest
Re: Welcome table Template Problem (18th Jan 10 at 10:58pm UTC)
The only code I still have that would effect it is this:

Code:
 
  1. <script type="text/javascript">
  2. <!--
  3. get('welcome_table', 'id').cellSpacing = '0';
  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>
 


which is suppose to call the welcome table into my forums border frame, i think. I don't exactly remember lol.


anyways if it helps here is the welcome_table code:
Code:
 
  1. <table align="center" width="{skin_width}" cellspacing="0" cellpadding="0" class="border" id="welcome_table">
  2.             <tr>
  3.                 <td width="100%" class="welcome" align="center">
  4.                     {if:banner}<img src="{banner}" alt="{forum_name} Banner" title="{forum_name}" />{else}<h1>{forum_name}</h1>{/if}
  5.                 </td>
  6.             </tr>
  7.             <tr>
  8.                 <td width="100%" class="menu" id="menu_buttons">
  9.  
  10. <div class="nav">
  11.                     <ul class="artmenu">
  12.                         <li><a href="http://www.divineshadowsonline.com/index.php"><span><span>Home</span></span></a></li><li><span class="separator"></span></li>
  13.  
  14.                         <li><a href="http://www.forum.divineshadowsonline.com"><span><span>Forum</span></span></a>
  15.                             <ul>
  16.  
  17. {if:member}
  18. <li><a href="/action/search"><span><span>Search</span></span></a></li><li><a href="action/view_profile"><span><span>Profile</span></span></a></li>
  19. {/if}
  20.  
  21. {if:staff}
  22. <li><a href=/action/admin><span><span>Admin Panel</span></span></a></li><li><a href=http://www.divineshadowsonline.com/register.php><span><span>Register User</span></span></a></li><li><a href="/action/members"><span><span>Members List</span></span></a></li>
  23. {/if}
  24.  
  25.  
  26. {if:member}
  27. <li><a href="http://www.divineshadowsonline.com/logout.php"><span><span>Logout</span></span></a></li>
  28. {/if}
  29.                                 
  30.                             </ul>
  31.                         </li><li><span class="separator"></span></li>
  32.  
  33.  
  34. {if:member}
  35. <li><a href="http://www.store.divineshadowsonline.com/index.php"><span><span>Store</span></span></a></li><li><span class="separator"></span></li>
  36. {/if}
  37.  
  38.                         <li><a href="#"><span><span>Game Information</span></span></a>
  39.                             <ul>
  40.                                 <li><a href="http://www.divineshadowsonline.com/plot.php"><span><span>Story Line</span></span></a></li>
  41.                                 <li><a href="http://www.divineshadowsonline.com/rules.php"><span><span>Rules</span></span></a></li>
  42.                                 <li><a href="http://www.divineshadowsonline.com/characterinfo.php"><span><span>Character Information</span></span></a></li>
  43.                                 <li><a href="http://www.divineshadowsonline.com/getting-started.php"><span><span>Getting Started</span></span></a></li>
  44.                             </ul>
  45.                         </li><li><span class="separator"></span></li>
  46.  
  47.                         <li><a href="#"><span><span>Downloads</span></span></a>
  48.  
  49.                             <ul>
  50.  
  51. {if:member}
  52. <li><a href="http://www.divineshadowsonline.com/client.php"><span><span>Client Download</span></span></a></li>
  53. {/if}
  54.                                                                 <li><a href="http://www.divineshadowsonline.com/wallpaper.php"><span><span>Wallpaper</span></span></a></li>
  55.                                 <li><a href="http://www.divineshadowsonline.com/multimedia.php"><span><span>Multi-Media</span></span></a></li>
  56.                                 <li><a href="http://www.divineshadowsonline.com/screenshots.php"><span><span>Screenshots</span></span></a></li>
  57.                             </ul>
  58.                         </li><li><span class="separator"></span></li>
  59.  
  60.                         <li><a href="#"><span><span>Support</span></span></a>
  61.  
  62.                             <ul>
  63.                                 <li><a href="http://www.divineshadowsonline.com/contact.php"><span><span>Contact</span></span></a></li>
  64.                                 <li><a href="http://www.divineshadowsonline.com/faq.php"><span><span>FAQ</span></span></a></li>
  65.                                 <li><a href="http://www.divineshadowsonline.com/privacy-policy.php"><span><span>Privacy Policy</span></span></a></li>
  66.                                 <li><a href="http://www.divineshadowsonline.com/tou.php"><span><span>Terms Of Use</span></span></a></li>
  67.                             </ul>
  68.                         </li>
  69.                     </ul>
  70.  
  71.                     <div class="l">
  72.                     </div>
  73.                     <div class="r">
  74.                         <div>
  75.                         </div>
  76.                     </div>
  77.                 </div>
  78.  
  79.                 </td>
  80.             </tr>
  81.         </table>
  82.  
  83. <br /><br />
 


I just don't get why it doesn't break will the head and base images are removed. Thats why i thought it was a bug {Unsure}



Edit: It was the whole border I had around the forum {Unsure}
Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Welcome table Template Problem (18th Jan 10 at 11:46pm UTC)
The code was expecting the head/base images to exist. It was getting confused when they were no longer there. But I've replied to your other code support topic {Smile}

Image
 Printable View

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