![]() |
Great hack/addition. Well done
|
this is basically what i did with my site. i respect that you put a nice face to it, but 'inheriting permission' is no harder than putting a include("./forums/global.php") in your source. should be helpful to quite a few people who don't want the bells and whistles of vbportal, but still maintain integration with vb.
|
Guys,
If you installed this hack, share your webqueries in this thread To start the sharing and demonstrate what can be done with this hack, I posted a WebQuery+WebTemplate sample which will give you a page you can read last XX member private messages in your board. Find it there.. Regards, |
Hi, Logician...
Anyway, sounds like an interesting hack. The only question that I have is this. Why should I use your hack instead of doing something like the following: PHP Code:
to see the above page in action go to http://www.teenssucceed.com/home.php That is very easy to do with some custom templates and a basic understanding of how a vBulletin page works (the basic template outputs, etc.) Why is your hack any better then doing it as above? Oh, the one custom template used in the basic example above contains the following: PHP Code:
|
*throws away current project*
crap this is awesome! even better than what I was going to do! :D |
Hey James,
Quote:
* Your sample lacks the ability to have "conditionals", that is simple "if" clauses you can set in your templates without PHP knowledge. * Your sample lacks the feature to do SQL queries in your db and create automatic tables in HTML, without PHP and even SQL knowledge. * Your sample requires PHP coding for every template you need to design, especially if you need to ban the template to your users user1 and user2 only or you need to put a hidden text which will be shown to certain users. What my hack does can be done by coding individiual PHP pages. This hack is no miracle and I didnt say that you cant have the same effects/pages by programming your own PHP scripts. Please read my answer to TWTCommish: This hack gives you to ground to create MANY dynamic pages easily without arduous job of coding, besides you can even have dynamic pages/queries even if you dont know PHP or SQL. I created this hack for my own site. I could have the same dynamic pages by programming individual PHP scripts but I found it more easy to have a "system" that gives you the ground to easily control these pages without coding them individually. I added "WebQuery" feature to have db Query results easily. Even a guy with 0 knowledge of PHP and SQL can have dynamic pages with this hack by just inserting other's WebQuery's from vb cp. If you are a PHP/HTML/SQL Wiz and commit time to code your own scripts, then you need neither my hack, nor ANY hacks in this site. You dont even need this site itself! You can create ALL the hacks in this site, by coding your own scripts or hacks. You can ask all hack writers: "I can do this by this PHP code too and why is yours better than mine?" and well, of course you can, you are also a programmer and as you may very well know, same effects can be achieved by different programs. :cool: So your question is unanswered, not only for my hack, but all these hacks in this site. Regards, |
Okay, got ya...I think I understand your hack now...thanks for taking the time to help me out :)
James P.S. I wish I was a 'programmer' but I am not, I have just spent some time getting to understand the vBulletin template system and am able to call and direct pretty well. |
Great hack so far, and room for more potential (It works by the way with no problems of installaiton and Im using it in conjuction with vbportal)
I was wondering if it could be possible to add to it. I was wondering if it would be possible to change the query for the last 10 and instead of pulling the last 10 threads he/she has posted to the forum, pull only "all" threads he/she has posted to a private forum? Edit: Figured out how to do the post all threads (take off limit 10) But how do I make the query only look at the private forum that he/she only has acces to? And apply to to every usergroup? I have all my users in usergroups (so no one under registered or groupid 2 I think i have the idea to make similar "whoareyou" templates for each usergroup I have so they would only have access to it. Would that be wise to do? Another q: Is it possible that instead of taking the user to the actual forum itself to view the thread, but to pull the contents of the thread and have them be viewed in a "threaded" format? Is this possible? |
Quote:
So all you have to do is to add a new "WebQuery" that does the SQL query you need, then attach this webquery to any webtemplates to automatically list it in your page. One downside: At the moment this hack does not list sql select results in pages in which you click and get the page 2, 3, etc..So you have 2 options: You can query ALL threads and if the query returns say 700 results, all will be listed in one page! Or you can limit your query with SQL command LIMIT then whatever numbers your user has, only your limited number of results will return. Anyway if you have problems in designing your Webquery, ask me here and I can help you with the query. |
I had already installed WebTemplates in a test board a few weeks ago. Now I tried to install it on my main board, with no success. I did and re-did everything that is described on the installation instructions, but nothing seems to work:
When I go to http://www.pinkfloydfan.net/forums/s...p?pg=whoareyou I get a "mySQL error:No Database Selected" When I go to http://www.pinkfloydfan.net/forums/s...ebtemplatehelp I get the "The page you requested does not exist!" error message. Installation went fine and I'm not sure why this is happening. I'd really appreciate your support. Thanks, Paulo |
All times are GMT. The time now is 04:37 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:
|