Version: , by apfeifer
Developer Last Online: Jan 2007
Version: 2.2.x
Rating:
Released: 11-01-2001
Last Update: Never
Installs: 28
No support by the author.
Hack: Custom Post Prefixes
Version of vB: 2.2.0, although may work on earlier versions but not tested
Current Version: 1.0.0
Description: This hack allows you to add custom prefixes to post, like "Poll: " and "Sticky: ", only custom ones editable in the control panel.
All feedback is appreciated, and everything you need is in the attached file.
NOTE: If you downloaded this prior to 5:10 CT please re-download it, I fixed something in the directions.
You need to change the code to specify the forum id(s) that you wish to include custom prefixes for like the following:
PHP Code:
if ($permissions['canusecustomprefixes'] == "1" && $forumid == '69' OR $forumid == '16' OR $forumid == '73' OR $forumid == '49' OR $forumid == '50' OR $forumid == '81') {
I've downloaded and installed the hack from the above link. And that was like a goose hunt to get that. :s
Anyway, Everything seems to be okay except for a few things:
1) A couple of the queries came back with errors saying duplicate id.
2) The custom post prefix options in the admin cp are not right. It's something to do with a poll, not the prefixes (though the category title is correct). Here's what I get:
Quote:
Results Per Page
The number of entries to be displayed on the "View Quiz Results" and "Quiz Category" pages.
Passing Percentage
The percentage of questions a quiz user must answer to succesfully pass a quiz.
Quiz Display Cutoff
The number of high scores/recent results to display on the quiz display page.
Display Author's Results?
The option to "hide" any quiz results taken by the author of the quiz.
Sound weird? I'll post a screenshot if needed, but at the moment my psp is acting bad.
The options aren't in the admin cp, what I quoted above is what is in the admin cp under "Custom Post Prefix". *lol* Is there a way to .... dump the queries of the first three (in the instructions) and rerun them? Or does that make sense?
I'll try to find everything I have to be more clear and post back later.
Hrm. You know what, NTLDR - I do remember trying to install it. But it didn't do anything that I wanted and I thought I took it all out. Is there a way to take it out so I can fix the postprefix? I guess I better head over to the quiz hack and see if there's a uninstall. It added the 'quiz' templates three times to my default template set. So...yeah. It made me upset and I've still got all those unused templates taht I need to delete. (If you know a quick mass-delte templates, pm me! Unless I can acheive this via TBS, which I will try soon). Anyway, back on track....uninstall..