The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
If it is plain HTML, it is VERY EASY to convert it to a webtemplate as I mentioned above. Just copy/paste its source code to a new webtemplate in your Admin CP and add the [cantsee] tag I mentioned above, you are done.
Now call it as http://www.yoursite.com/yourboard/sh...f_yourtemplate and here it is: If the visitor is a guest/unlogged member he will get please login/register to view this page message and if he is a logged-in user he will display your page. Very simple.. |
#12
|
|||
|
|||
so in the "mysite.com/index.php" file it would simply have the include like this? "show.php?pagename"
This is going to make nested php files? I am using windows2k and IIS, so I am stuck in CGI-ville...what's that gonna do to my perfomance? |
#13
|
|||
|
|||
I would also REALLY like to see this working somewhere...I want to get a feel for it.
|
#14
|
||||
|
||||
Quote:
To load it, call it from your browser address bar as "url/board/show.php?pg=templatename" Quote:
http://www.turkhukuksitesi.com/hukuk...g=testtemplate However you cant feel it, because it's meaningless if you are a guest. You would feel it if you visited that template with different vb usernames to see dynamic content. Screenshots in the hack thread demonstrate it better. But you insisted so here you are.. And here is another template which is open to only Site Admin usergroup. Test it to see how hack forbids you from displaying the page if you dont have the permission: http://www.turkhukuksitesi.com/hukuk...p?pg=whoareyou My 2 cents: Hack is not a pain to install. It will take you less than 15 minutes to install so give it a try and if it doesnt work, uninstall and forget it. You'll have the best feeling by trying it.. As for performance issues, hack thread has lots of information.. |
#15
|
|||
|
|||
just a quick question, this may sound dumb, but I wanna have my bases covered...in your instructions, you seperate things with "CUT" does this just signify the end of the instruction and the start of the code or does it mean to find that and cut it out of the file and then replace w/ your code? there needs to be some claification there for sure...
|
#16
|
|||
|
|||
ok, I think I got everything in right, I left the code that you said to find, in....but when I got to run the "webtemplates_install.php" nothing happens...it just goes to this URL w/ the same page conents as the first page....
/forums/webtemplates_install.php?p=1 I click the link and it loads the same page w/ the same URL...I looked in code and I know its not supposed to look like that, obviously |
#17
|
|||
|
|||
here is what I have in the webtemplates_install.php
$servername='localhost'; ## Username and password to log onto your MYSQL database server ## Remember: this username and password will be used when connecting to MYSQL database. $dbusername='root'; //MYSQL username $dbpassword=''; //MYSQL password ## Name of the MYSQL database where your vbdata is. $dbname='vbulletin'; |
#18
|
||||
|
||||
thorin you need to edit this info to point your server/MYSQL username/password/databasename before running the script
and the CUT only points the begining and ending points, you dont need to delete the part unless it's obviously asked like "REPLACE it" |
#19
|
|||
|
|||
Those are my correct settings, notice that the 'pass' is gone from the pasword string value?
|
#20
|
||||
|
||||
can you give me the URL to webtemplates_install.php (you can pm), let me see it..
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|