vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: Programming & Coding :: Code Requests & Support :: PM Center [Support] - View Topic
Topic Rating: *****
Printable View
Nick
Very Senior Member
*****

[Avatar]

Posts: 3,012
Status: Offline
Gender: Male
Location: vForums
Age: 34
Joined:  
Reputation: 62%  


pmwww
PM Center [Support] (23rd Oct 08 at 10:01am UTC)
I wanna know if this:

Code:
 
  1. <script type="text/javascript">
  2. Welcome, '+((vf_username=="guest") ? 'Guest.' : '<a href="/action/view_profile/user/'+vf_username+'/">'+vf_displayname+'</a>.');
  3. ((vf_username=="guest") ? 'Please <a href="/action/login/">login</a> or <a href="/action/register/">register</a>.' : 'Total PM\'s: <a href="/action/pm/">'+vf_total_pms+'</a> ('+vf_new_pms+' new)');
  4. //-->
  5. </script>
 


Is the correct way to do the PM center?

I am trying something new with vF forums, and Java script seems to be my weakest so far....

My latest project is here:
http://dmtesting.vforums.co.uk

I am trying to re-create the welcome center, and change it. and JS is the only thing that is keeping me back.
I am trying to put the PM center under the Menu buttons but in its own table. Is not working out so well {Tongue Out}

Thanks
 Printable View

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