![]() |
Harlequin,
Thanks for the info on the template counter. That piece of info is most definitely not intuitive! I RTFM and found nothing relating to the counter.... and I don't understand why we're expected to pick that up through osmosis. jjj0923, Apparently, you have the same problem that I had last night. Read my posts and the reply from Herlequin. Which version of vB and PP are you running? You www link points to viagra.com. Somehow I suspect that's not the site you're working on. |
Quote:
the url is correct - however the vb & pp are hidden and for internal use. - jeff |
You're running v2.9, eh? That interesting considering the latest stable release is 2.3.3 and from there it's going to go straight to 3.0. Where'd you find a version 2.9?
I think what AJ is trying to tell you is that you have not yet editied the header-inc.php file in PP root. I believe this will solve your problem. (In addition to installing the templates correctly) This is what you need to uncomment in header-inc.php Code:
As for installing the template hack correctly, do not use the provided installer. It's got some issues. :) If you used it, just use it again to uninstall the templates. From there, download your style file and add the contents of "ppstyle 4.5.txt" before the final set of pipes "|||" in the style file. Use the CP to upload/overwrite the newly edited style. With any luck this will solve your problem. Like I said before, your bug is (was) the same as mine. It can be worked out if you just have a little patience. |
I just did that - no luck.
I did use the provided installer. the variable in pp_index are not getting set - however gettemplate is not failing any longer - like the rest of you - it just seems as though the templates are not being read at all. ps: where can I find the ppstyle 4.5.txt file? - jeff |
I downloaded the style.
then I took the contents that your specified and inserted them before that last ||| in the original style file. save it and uploaded it using the uploade style set and the import ran correctly. however none of the pp_ templates show up in the template list. - jeff |
The first line of every template file should look something like this:
2.3.2|||name|||name|||name|||23|||116||| - The first number is the vBulletin version numer it was made for. - The name name name are the Style, Replacement, and Template set names. - The 23 is the number of Replacements to add - The 116 is the number of Templates to add You would add 127 (v4.1.x) or 128 (v4.5.x) to 116 = 243 The above is an example of what to do. Numbers are going to be different in every style file, but the format stays the same! |
Quote:
this is what mine looks like. 2.2.9|||Default|||Default|||Default|||23|||362|||{ timecolor}|||#000000|||{textareacols_IE}|||60|||{p agetextcolor}|||#000000|||{linkcolor}|||#000000||| {hovercolor}|||#0000FF|||{categoryfontcolor}|||#FF FFFF|||{pagebgcolor}|||#FFFFFF|||{tableheadtextcol or}|||#FFFFFF|||{firstaltcolor}|||#FFFFFF|||{table headbgcolor}|||#235CDA|||<body>|||<body bgcolor="#215AD6" text="#000000" id="all" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#000020" vlink="#000020" alink="#000020" background="{imagesfolder}/j2.gif">|||{tableouterborderwidth}|||0|||{tablebor dercolor}|||#000000|||{categorybackcolor}|||#235CD A|||{titleimage}|||http://www.viagra.com/upload/images/t2.jpg|||{secondaltcolor}|||#A3BFF9|||{contenttabl ewidth}|||100%|||{tablewidth}|||100%|||{tableinner borderwidth}|||1|||{textareacols_NS4}|||60|||{text areacols_NS6}|||60|||{htmldoctype}|||<!DOCTYPE HTML PUBLIC\"-//W3C//DTD HTML 4.01 Transitional//EN\">|||{imagesfolder}|||http://www.viagra.com/upload/images|||911|||{htmldoctype} so - you're saying that not only do I have to paste the new file in at the end of the file beofre the final ||| but I also have to change the number in the first line? is that correct? - jeff |
therefore I would paste in your new stuff at the end of this file and change the 362 in the header to 490 (add 128) ???
jeff |
I'm about to just give up on this.
I added your file at the end. I added 128 to the nuber at the top. I used to function in admin to upload it and no pp_ templates are showing up. this seems like more trouble than it's worth to be honest. |
Quote:
According to the installation instructions provided with the hack, yes, that is correct with regards to changing the number of templates. AJ, I missed the part where I add an additional 1 to the number of templates. I am running PP 4.5.1. I will add that extra 1 to the counter, but I am curious, what exactly is the purpose of the counter? |
All times are GMT. The time now is 06:22 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:
|