How would i go about being able to display the styleid a member is using in the postbit template ?
display/identify styleid a member is using?
Collapse
X
-
display/identify styleid a member is using?
:: Always Back Up Forum Database + Attachments BEFORE upgrading !
:: Nginx SPDY SSL - World Flags Demo [video results]
:: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]Tags: None -
thanks that worked:: Always Back Up Forum Database + Attachments BEFORE upgrading !
:: Nginx SPDY SSL - World Flags Demo [video results]
:: vBulletin hacked forums: Clean Up Guide for VPS/Dedicated hosting users [ vbulletin.com blog summary ]Comment
-
Is there also such easy way to display the stylename?
Like $post [stylename] or something like that?Greetings, Black TigerComment
-
I now put $post[styleid] in there, but there seems to be a small problem.
We've got 3 styles on our board.
1.) Default
2.) style1
3.) style3
But in the postbit of the users, Numbers appear from 0 to 4. From 0-4=5 but we only have 3 styles. Any idea how this is possible or how to fix this?Greetings, Black TigerComment
-
That's because a new consecutive number is assigned whenever a new style is added. So if you've deleted a style, the old numbers will no longer appear. Not sure how to fix this since it's not really a bug. You'd probably need to use phpMyAdmin to modify your database. I'd be careful though since I'm not sure if this would have any bad repercussions.Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Steve Machol Photography
Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.
Comment
-
Thanks, that could be the issue indeed. I added 2 test styles which where later deleted.
I'll have a look with phpmyAdmin if I can find anything.Greetings, Black TigerComment
-
Hmmz... something is not good, maybe bug?
SQL-query:
UPDATE style SET Ttyleid = '2', replacementsetid = '2', templatesetid = '1', title = 'Satfun', userselect = '1' WHERE styleid = '3'
MySQL said: Unknown column 'Ttyleid' in 'field list'
Typo here: Ttyleid instead of Styleid.
I corrected it manually now, but maybe this is a bug?Last edited by Black Tiger; Tue 6 Nov '01, 4:31pm.Greetings, Black TigerComment
-
Correct, like the posting said I'd go try with phpmyadmin so it's a phpmyadmin query.
I took phpmyadmin, and clicked on browse at the "styleid" and then on "edit" next to the styleid I wanted to change.
The I clicked on "save" and this command including the typo came out.
Thinking phpmyadmin is just reading what's in the database, I thought the Ttyle in stead of Style was a table typo.
I ofcourse can also be wrong.Greetings, Black TigerComment
-
you could write a condition
<if condition"$post[styleid] == '1'">Style Default<else />
so on and so forth... i beliveComment
Related Topics
Collapse
-
by WhiskeyOSSHow can I display the member list or a sub link to the member list in vb5 I do not see one so I assume either it does not exist or we have to make it. ? I could only find 2 member.php files which seem...
-
Channel: Support Issues & Questions
-
-
by fccorpI recall members locations (such as city) would be listed underneath their names when they posted to a topic.
Is there a way to display this?
Thanks,-
Channel: vB Cloud Support & Troubleshooting.
-
Comment