Quote:
Originally posted by grb123
Another useful feature would be a backup for WebTemplates only, as per the vBulletin styles. I've done it using mysqldump and just dumping the webtemplates and webtemplatequery tables, but if we had it in the control panel that would be nice. OK, I could add it myself, but you may want to include it in a future version.
|
Actually it is in your Admin CP: Click "Backup Database" inside vb Admin CP and choose tables webtemplates and webtemplatequery to backup your entire webtemplate/webquery data. This is one of the nice feature of the hack, you back up your vb and your entire site is backed up..
However I also added a new feature to the new version: You can export your webtemplates/webqueries as a text file. I integrated this feature so that hack users can easily share their useful webtemplates/webqueries, but it's also useful for archiving purposes (I'll send you the new version ASAP, you can test the feature)
Quote:
I've also noticed that if you include links in the footer, you need to hardcode them ie show.php?pg=pagename rather than {template=pagename].
|
Yeah, header and footer are not designed to be parsed. Because I dont want to increase PHP script running time with all these features, however it can be achievable with one line of code if that is what you want.
Quote:
Is there anyway that the vbulletin search can also include searching the WebTemplates pages?
|
Can be possible with hacking but would be a hard job. VB's searching design is quite complicated and you may need to commit too much time to first solve the system, then integrate this feature.
An easier method would be to create a webquery that makes searches in your webtemplates. In the new version webqueries work with ourside variables so you can design such a powerful webquery which accepts user data and searches webtemplates according to this keyword. However please notice that some of your templates may have conditionals (eg. hidden text for certain users) or may be private (open to some users only) and if you search keywords in your entire webtemplate db, these info may be exposed..