![]() |
Quote:
Also, I'm trying to migrate away from the 'td' (table data) and FRAMING system and am using Css for both 'style' and layout formatting thru the use of 'href' and 'import'. As far as positioning is concerned Percent works well but 'absolute' is so so . . . Any gENERAL Thoughts / Tips to Share?? |
I also needed a means to manage vb and non-vb data from within vb. I looked at forms hack. It looks adequate for simple needs. I needed more. Then 're-discovered' CodeCharge . With a little hacking you can embed the code 'within' vb pages!!
|
Quote:
|
Quote:
Quote:
Can I parse in HTML and still embed php???? Oh, never knew href file addressing to be Case Sensitive!!!! ('lil things do drive ya nuts!)[/COLOR][/SIZE] Quote:
Holy Cow, I LIKE the editors 'color' selector!!! (also a hack to investigate?) I'd like to see it in HEX values!!! Cheers!! |
Hi! How do I make a webquery that pulls a post posted fromma certain forum and makes it a separate WebTemplate page?
Sort of an article system, where I make a new thread in say Forum 1 and that new thread becomes a new article page in WebTemplate? So that if I made 10 new threads in Forum 1, I can have 10 different WebTemplate pages corresponding to each of those new threads? Also I don't want it to be a simple link to the post in the forum but a stand-alone article itself. Hmm.. exactly like this: http://www.theadminzone.com/forums/a...icle&aid=18141 |
Lets see more webQueries and your code. This thread would be cool of we can make this a total "post your WebTemplates and WebQueries for others to see and use.
I currently have WebTemplates installed and I know there is tons of potentials with this hack but me not being a coder I would like to get some ideas of how your using this hack and details on how you created it. |
Quote:
Actually import/export WT section is only designed so that people can easily share their work but unless they do, there is not much I can do. Unfortunately I don't have time to create new WT/WQ so it would be really great if hack users take the liberty and help eachother. :cool: |
Quote:
You are not authorized to execute SQL queries I am logged in as Administrator??? |
Any update to this thread? Lets keep it alive and post your code and what you are using this hack for.
|
Quote:
In the config.php there is a place to add your member id number to the users that can run queriers. Make sure your number is there :) |
Any help with the webquery to list the top to referers and how many referals they have?
|
Any suggestion on how to pass a parameter to a web querry and have it included in the query? Such as an event id.
such as: SELECT something FROM calendar where id=xxxx where I pass to the query the value for xxxx? Also: Quote:
I am assuming by, "to list the top to referers" you mean the top two (2) referers? Try in your admin Maintainence sql query (see note): SELECT COUNT(2) AS count, user.userid AS userid FROM XXXuser AS users INNER JOIN XXXuser AS user ON(users.referrerid = user.userid) WHERE users.referrerid <> 0 GROUP BY users.referrerid *NOTE: replace XXX with the prefix name that you are using for you dB. The prefix name I use is "vb_" so the query I would use is: SELECT COUNT(2) AS count, user.userid AS userid FROM vb_user AS users INNER JOIN vb_user AS user ON(users.referrerid = user.userid) WHERE users.referrerid <> 0 GROUP BY users.referrerid If you do not have a prefix then use: SELECT COUNT(2) AS count, user.userid AS userid FROM user AS users INNER JOIN user AS user ON(users.referrerid = user.userid) WHERE users.referrerid <> 0 GROUP BY users.referrerid ****************** if that is what you want then the below should work in your web query as the query to get the count and who: SELECT COUNT(2) AS count, user.userid AS userid FROM " . TABLE_PREFIX . "user AS users INNER JOIN " . TABLE_PREFIX . "user AS user ON(users.referrerid = user.userid) WHERE users.referrerid <> 0 GROUP BY users.referrerid |
Quote:
|
Hopefully, I can explian this correctly.
Lets say I made a WebTemplate that is a 'template'; lets call it TemplateTemplate. I would like to create a webtemplate page (to keep it simple) that allows for the entry of a name and submit button. When a name has been entered and the submit button is pressed the TemplateTemplate is used as a template to create a brand new web template that is named based upon the entred name. Another try at an explination I have a webtemplate named TemplateTemplate that is the base template to create other templates off of. I have another web template that a user can go to, call it 'CreateTemplate'. CreateTemplate has a text field and a submit button. When the submit button is pressed on CreateTemplate, create template (calling what ever is needed) takes TemplateTemplate as a base to create a new web template that is named as was entered on CreateTemplate. Is this possible? What code or functions do I need to call to make a webtemplate from one web template? Can there be be 'default settings' or a default template used to create other templates from? If its not possilble then what would be needed to make it possible? |
hi,
i want use the recent attachment code with webtemplates to display the recent attachments the recent attachment code is: Code:
<------the code to add in index.php------> Code:
while ($recentattachment = $db->fetch_array($trix)) thx |
All times are GMT. The time now is 01:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|