Show user Occupation in viewtopic

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Show user Occupation in viewtopic
alymay
CZ Newbie
 Codezwiz Site Donator
alymay has been a member for over 20 year's 20 Year Member
switzerland.gif
Occupation: Designer
Gender: Female
Status: Offline
Joined: Oct 23, 2004
0.00 posts per day
Posts: 14
Points: 6,914
   
Hi,
is possible show "User Occupation" in viewtopic like (post, location ecc..) ?
anyone can help me with this ?

Thanks,
Ally



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Open the viewtopic.php and find the query that goes to the USERS_TABLE add what you want to get out of it in there. Then scroll down and define the variable right before the template system starts. Then open your template viewtopic_body.tpl file and add the define.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
alymay
CZ Newbie
 Codezwiz Site Donator
alymay has been a member for over 20 year's 20 Year Member
switzerland.gif
Occupation: Designer
Gender: Female
Status: Offline
Joined: Oct 23, 2004
0.00 posts per day
Posts: 14
Points: 6,914
   


Originally posted by Telli @ Fri Jan 07, 2005 7:42 am:

Open the viewtopic.php and find the query that goes to the USERS_TABLE add what you want to get out of it in there. Then scroll down and define the variable right before the template system starts. Then open your template viewtopic_body.tpl file and add the define.


As always, problem solved with your help icon_biggrin.gif icon_biggrin.gif ,

Thanks !!
Ally



Back to top Reply with quote
#4   re: Show user Occupation in viewtopic
mike01
CZ Newbie
mike01 has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: May 22, 2006
0.00 posts per day
Posts: 21
Points: 716
   
Help!!!

I attempted this as well and really pruned up, if someone could please assit me and tell me what I need to edit and add to accomplish this as I just nocked out my board lmao icon_razz.gif

Mike



Back to top Reply with quote
#5   re: Show user Occupation in viewtopic
mike01
CZ Newbie
mike01 has been a member for over 18 year's 18 Year Member
Gender: Male
Status: Offline
Joined: May 22, 2006
0.00 posts per day
Posts: 21
Points: 716
   
Never mind I had a typo me bad, sorry folks its working now!

Mike icon_biggrin.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum