Announcement
Collapse
No announcement yet.
display/identify styleid a member is using?
Collapse
X
-
display/identify styleid a member is using?
How would i go about being able to display the styleid a member is using in the postbit template ?:: 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
-
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 Tiger
Comment
-
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
-
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 Tiger
Comment
-
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 Tiger
Comment
-
you could write a condition
<if condition"$post[styleid] == '1'">Style Default<else />
so on and so forth... i belive
Comment
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
Sun 30 Dec '12, 4:09am -
-
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.
Mon 27 Apr '15, 10:32am -
Comment