vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Custom Post Prefixes (https://vborg.vbsupport.ru/showthread.php?t=32038)

apfeifer 06-10-2002 12:31 AM

Alright, after I get home from sports acceleration (fun, working out..:rolleyes:) I'll work on this!

supreemball 06-15-2002 02:40 PM

anyone figure out how to make these prefixes for certain forums? like a if ($forumid == "3") statement? i know the code, just not sure where to put it.

Sigon 06-16-2002 12:47 PM

Everytime I go to run the SQL queries its giving me a duplicate key. Whats going on here?

BigJohnson 07-14-2002 04:39 PM

Ok I have a request for this. When you preview posts you loose the drop item you choose how do u fix this?

BigJohnson 07-14-2002 04:41 PM

Also to be able to edit the custom prefix as well is anothign kool addon if possible.

BigJohnson 07-17-2002 01:14 PM

Can someone please help me and make an edit post feature where you can edit this. That would be great.

WitchyT 07-22-2002 10:47 PM

Just got this hack working! Works great! :D

Just a question: Is there any way, I could edit/remove the Custom Prefix through the Edit Thread in Admin Options? Like, first I put "Pre-Show Discussion", and some days later I want to change that prefix into "Post-Show Discussion".
Because right now I'd only be able to put the prefix once, when I post, and not edit that prefix.

Dalius 07-29-2002 05:48 PM

Okay, I finished instaled it all, its all in, the drop down box is in the newthread template, just one question, where do you edit the sutf in the ACP???

Units 08-03-2002 04:07 AM

I cant run the sql querys

Units 08-03-2002 04:26 AM

This hack is super confusing. I've ran the queries, But now i dont know where to test this out. I dont see any Custom Prefix options in the admin cp...

FlyingDutchman 08-20-2002 02:40 PM

Quote:

Originally posted by apfeifer
If anyone wants me to make this for the current version of vB (2.2.6), just leave a reply here and I'll do it tomorrow.
can you plz make a 100% working version for vb 2.2.6?
thanks in advance...

Fuitad 08-23-2002 06:43 PM

how can that prefix be edited after?

NTLDR 08-23-2002 08:46 PM

Quote:

Originally posted by Fuitad
how can that prefix be edited after?
You need to manually edit the row in the thread table as this hack doesn't have any built in may of editing them.

squawell 08-24-2002 07:37 AM

one question ...

how to do can make different prefixes show up in different forums?

like here... only full releases forum have the prefixes..

NTLDR 08-24-2002 07:17 PM

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') { 


Rose 08-25-2002 07:59 PM

https://vborg.vbsupport.ru/showthrea...613#post200613


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.

NTLDR 08-25-2002 08:04 PM

Quote:

Originally posted by Rose
Sound weird?
Sounds like you have the vBquiz hack installed ;) Which is not what this hack was expecting :D

Are the options in the Admin CP, just without a link at the top?

Rose 08-25-2002 08:11 PM

But I don't have the vbquiz hack installed. :s

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. :)

NTLDR 08-25-2002 08:29 PM

Quote:

Originally posted by Rose
But I don't have the vbquiz hack installed. :s
You have it semi-installed though ;)

Rose 08-25-2002 11:16 PM

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..

NTLDR 08-25-2002 11:23 PM

I'll take a look at the hack, its just a case of removing the quiz stuff from the setting table.

Quote:

(If you know a quick mass-delte templates, pm me! Unless I can acheive this via TBS, which I will try soon).
PM on its way :D

squawell 08-26-2002 07:59 AM

Quote:

Originally posted by NTLDR
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') { 


thankz for ur reply.......

but can we add the prefixes when we create a new forum?

can do that?thankz...

NTLDR 08-26-2002 05:44 PM

Quote:

Originally posted by squawell
but can we add the prefixes when we create a new forum?
You need to manually update the list with the forumid

criz 11-11-2002 12:28 PM

Quote:

Originally posted by BigJohnson
Ok I have a request for this. When you preview posts you loose the drop item you choose how do u fix this?
any conclusion right now?

and another feature would be quite interesting: posting only with choosing a prefix, otherwise errormessage: please choose a category! how can I do that?

gmarik 05-17-2003 08:30 PM

Should it work with 2.3.0 as well?
NTLDR, got an idea of it?!

gmarik 05-17-2003 08:31 PM

Should it work with 2.3.0 as well?
NTLDR, got an idea of it?!


All times are GMT. The time now is 04:20 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
  • Page Generation 0.01510 seconds
  • Memory Usage 1,776KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete