The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#111
|
||||
|
||||
thanks Logician,
I am a novice at the moment, but am eager to learn! |
#112
|
|||
|
|||
Looking for a template that shows 5 random users in a nice little neat box.
this is for my bigger template that will have a new member find. I have it almost done. acutally it IS done. this additon is needed. so in other words :smoke: irate: :lick: :devious: :speechless: it would look like that but that would be random users THAT have avatars or profile pictures. whichever is easier. |
#113
|
||||
|
||||
Wonder if anyone can help I am trying to position two IFRAMES side by side within a webtemplate using the code below (sorry not a coder barely computer literate somedays) the code below correctly places the first IFRAME but the second is pushed to the bottom of the page. ??????
Quote:
|
#114
|
||||
|
||||
Quote:
PHP Code:
|
#115
|
||||
|
||||
Apologies your right it was a HTML question, however thank you it has helped me complete my webtemplate and I am sure others might benefit so thanks.
|
#116
|
||||
|
||||
I have a dropdown menu in the default template, when dropped this becomes obscured (goes behind) the Iframe above in the body of the template. Any suggestions how I get it to go infront.
probably another html question but might be related to the webtemplates which is why I ask here. ps this web templates mod is super. |
#117
|
|||
|
|||
I am building a directory that will connect to vb user table. I am wondering if I can somehow pass a parameter to the webquery to bring up a particular record by pre-setting a variable in your Query PHPInclude Code (Before) section.
For example: Query: SELECT name FROM people WHERE id = $nameid ORDER BY name DESC LIMIT 1 PHPInclude: $nameid = a value i pull off of the address string I need to dust off my debugger to see what values exist at this point in the runtime. But can someone give me the syntax to pull a parameter value from the URL? www.noblood.org/forum/view.php?pg=test2&nameid=9999 Thanks! I just tried: Query: SELECT name FROM people WHERE id = $nameid ORDER BY name DESC LIMIT 1 PHPInclude: $nameid = 4 $nameid did not resolve. So I take it that the query can not contain php variables? |
#118
|
||||
|
||||
Quote:
Also it is a good idea if you paste your webtemplate/webquery (with its exact phpinclude code) so that we can check how you did it. |
#119
|
|||
|
|||
Thank you for your responce.
I would like for example to present one record using a WebTemplates page that is based on a single query that receives from the URL the record id. I am using vB 3.53 and WebTemplates 3.5.x. Code:
Query: SELECT name FROM people WHERE id = $nameid ORDER BY name DESC LIMIT 1 PHPInclude: $nameid = a value i pull off of the address string Example URL: www.noblood.org/forum/view.php?pg=test&nameid=9999 |
#120
|
||||
|
||||
Quote:
PHP Code:
https://vborg.vbsupport.ru/showpost....3&postcount=93 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|