![]() |
Yes the hack is great. I'm running the majority of my site using it.
http://www.steven-seagal.net Craig :D |
Good looking site you got there Craig. :D
|
Logician I just got the hack install and I wanted to say again. Man this rocks. Thank you for offering this. So many ideas, I dont konw where to start. :)
Mark |
Quote:
Craig |
Quote:
Everytime I add a new page to our website, I use this hack. Thanks again for all your time and effort. I added the code above to online.php, and it works fine if you view "who's online" as an admin. When I view "who's online" as a registered member though, I see "Reading Webtemplate:", but nothing following the colon. For instance as an admin, I see "Reading Webtemplate: news", but as a registered user I see just "Reading Webtemplate:". I'm stumped :) Thanks Jbear6 |
Quote:
PHP Code:
PHP Code:
|
That worked! UDA MAN Logician!
Thanks again, Jbear6 |
Umm. i'm a newbie.. so i'm not sure if this is possible. Can show.php be put in a directory other than the forums.. and if it can't is there anywayt to do that..
|
Quote:
PHP Code:
BTW. IMO this shouldn't be very crucial. It's just the URL that matters so the hack will work in the same way even if its in forum dir or not.. My 2 cents.. |
yay it works ^__^
if i put the show.php in a different directory will it slow down the page loading time by any chance? |
nope performance will not change.. Enjoy
|
Some reason when i call the template i just created I keep getting the follwing:
Error Message The page you requested does not exist! Please check the address you want to visit. If you arrived this page by clicking a link inside this site, you may notify the Site Administrator about the broken link. Thank you! Edit: Never mind I got it. I was being a dope. :) |
Quote:
Thanks again Logician. Craig |
Logician - Nice Hack :cool:.
I have a few points to note: Installation On initial installation I received the following errors (even though everything seemed to go ok: Error on Page 1: Warning: Undefined index: p in c:\program files\apache group\apache\htdocs\forum\webtemplates_install.php on line 74 Error on Page 4: Warning: Undefined variable: pagetitle in c:\program files\apache group\apache\htdocs\forum\webtemplates_install.php on line 312 As I mentioned the installation and testing afterwards suggests this worked ok anyway, so not sure how relevant those errors are. Installation Documentation Just a small point really, you mention in your installation instructions about getting the additional help relating to the hack, referencing: To learn how to use the hack, please call {YOUR FORUM URL}/show.php?pg=Webtemplatehelp and {YOUR FORUM URL}/show.php?pg=Webqueryhelp files I believe these should be pointed to: show.php?pg=webtemplate_help and show.php?pg=webquery_help, respectively (with the forum path of course). Style Issue Although your test page loads successfully, my header and footer components don't show up. I'm not sure whether this is by design or not. Of course it was easy for me to go to my relevant style and copy the code there which sorted it fine, but what happens if people have multiple styles. Is there any way to point the webtemplates header and footer templates to their selected or default style? I'll have a play with it in more detail now. Keep up the good work :cool:. |
Quote:
|
Is it possable to have individual pages
EX: http://myURL/show.php?pg=whoareyou = Viewing who are you page http://myURL/show.php?pg=menus = viewing Menus page etc . . . work with Firefly's Add Who's Online locations from Admin CP hack? https://vborg.vbsupport.ru/showthrea...threadid=32849 Thanks!! |
Quote:
|
Quote:
Awesome that was a lot easier than adding each page. Thanks!! |
I get this error:
Parse error: parse error, unexpected ',' in /home/rcnitro/public_html/forum/online.php on line 295 When I use Logician's who' online mod as listed above. I'm using vb 2.2.8 -WoodiE |
Quote:
If you miss something it may not work. It works great for me with vb 2.2.9 Craig |
Quote:
|
This looks like a great hack, has anyone gotten it to work with VB 2.3.0 ??
Thanks amp2000 EDIT: Nevermind, I tried it and it & it seems to work with 2.3.0 :p Great work.. amp2000 |
Quote:
I get the error when I add the above. . . Parse error: parse error, unexpected ',' in /home/talkdis/public_html/forums/online.php on line 315 |
I've been using Logician's WEBTEMPLATES hack for the longest time for several pages on my website, it's one of the greatest hacks ever developed (along with vbHome (lite) and vbMicroStats, IMHO). However, I've never really liked the format of the URLs with the WEBTEMPLATES hack.
URLs right now look like this: http://www.pinkfloydfan.net/show.php?pg=books The problem is, search engines, specially Google, don't seem to like URLs with parameters passed through them, such as the "?pg=books" part. So, after some research, I found out how to use Apache's .htaccess to have search-engine friendly links. First, make sure your server has the Apache module mod_rewrite installed.. Open .htaccess, and add: Code:
RewriteEngine on Also, make sure that if you already have a "RewriteEngine on" line on your .htaccess, that you don't add a second one. Check it out for yourself: http://www.pinkfloydfan.net/books.php. It takes you to the same WEBTEMPLATE as the previous URL. Just thought I'd share this with you. Logician, again, congrats on this great hack. I hope you keep on developing it. One thing I'd like to see that shouldn't be too hard to implement is a "Search" function for WEBTEMPLATES, much like we have for the Templates on VB's Admin CP. I'm also having problems with the Who's Online hack you just posted a few posts back, much like other users. Would you please be so kind as to double check to see if your instructions are precise? Thanks a lot! |
Thanks The Piper, i will have to add that, i've probably got about 100 templates now, but it will be worth it if they are picked up by google.
Craig |
To show webtemplates properly in who is online page:
|
Quote:
Quote:
Quote:
Anyway to avoid such misunderstandings, I rephrased my instructions and published one post above. It should be clearer now.. :) Enjoy.. |
Quote:
So thank for the good news. :banana: Craig |
Quote:
Quote:
Quote:
|
Installed easily in about 10 minutes, no problems at all using vb 2.3.0
Playing around with the options now, this has a lot of potential! |
I'm having some trouble getting templates to work properly.
Heres what I have so far: I went to Add Webtemplate, entered all info as "demo", page count 0, template info is: Hello $s2sheader I went back into Add Webtemplate and made one called s2sheader, page count 0, info is: world. Then I load example. com/forum/show.php?pg=demo It loads a blank white page that says "Hello" So.. the $s2sheader is not loading properly. What gives? I also tried copying the webtemplate as a normal template, but same results. What am I doing wrong? Thanks in advance! |
After fiddling with it I havnt gotten any further. None of my templates will load.
Is there something I need to do to prep or preload the template? I dont understand why the premade $footer template will work, but my template right next to it wont. There must be something else at work here but I'm not seeing it. Help! |
Quote:
|
Hi Logician,
Is this hack compatible with 2.3.0? |
yes it is glo
|
Quote:
|
just wondering
How could I show users browsing this page. For example (like this thread): (Users Browsing this Thread: Koutaru, Another User, User 3) Instead of Thread.. (Users Browsing this Page: Koutaru, Another User, User 3) Or maybe you could point me in the direction of adding this little addon? |
You should work on the screenshot more than on the code - tip, tip!
|
Hi Logician,
Could you please tell me if you hack could replicate my main page ? And where are some live examples? preferably in English |
replicate?
After installing the hack, you can simply copy/paste the source code of your page into a webtemplate and your page will be a webtemplate then. Is this what u are asking? However as mentioned in the hack thread this hack is not coded for "site main page" altough some people use it for their main pages too. |
All times are GMT. The time now is 08:41 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:
|