Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by apfeifer apfeifer is offline
Developer Last Online: Jan 2007 Show Printable Version Email this Page

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.

Version 1.0.0 released, go here
for details.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:

Comments
  #82  
Old 12-06-2001, 06:33 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The features I would like to see would be:

Admin Edit/Remove/Change Post Prefix

Add in usergroups or users so if users abuse this feature admin can block them from using it.

A way to search for only a certain prefix. like go to search and search for prefix, maybe even search for prefix by user.

Thats pretty much all I can think of but they seem very powerful to me and the needs I have for this script. It has a lot to do with my site and the search alone would make this un-stoppable.
Reply With Quote
  #83  
Old 12-06-2001, 06:55 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can do the 'admin editing' in phpMyAdmin maybe, so it's not too much of a priority I'd say. Not sure about this, though.

Making prefixes searchable would require them to have their own column inside a table, and as of right now I don't remember if this hack makes a column already, or that it's only a virtual addition to a thread upon creation.

I'll look at that once I install this on my testboard..
Reply With Quote
  #84  
Old 12-06-2001, 07:11 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by KuraFire
You can do the 'admin editing' in phpMyAdmin maybe, so it's not too much of a priority I'd say. Not sure about this, though.

Making prefixes searchable would require them to have their own column inside a table, and as of right now I don't remember if this hack makes a column already, or that it's only a virtual addition to a thread upon creation.

I'll look at that once I install this on my testboard..
Many Many Thanks!
Reply With Quote
  #85  
Old 12-06-2001, 07:37 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't be expecting too much though. I'm totally new to PHP and MySQL and all and I am just learning everything now. I'm digging into the vBulletin system as useful example-material, as well as simply hacking it to make my own board 1337er and 1337er

But anyhow, I'll give a look at the search page and how it processes searches, and maybe I can add, somehow, a search for the prefix column IF, and only if, the hack makes a column for them.
Reply With Quote
  #86  
Old 12-07-2001, 11:55 AM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay this is fun. I installed it on my test board, followed the install instructions exactly, the admin panel part worked, the drop down prefix list appeared on the new thread pages...

but no matter how I tried to enter some options in the AP, the options Would Not Show Up in the drop-down menu!

BLAH!


also, I haven't quite figured out how to make it work for a single forum. Sooo, I'm gonna request the hack they implemented on this board for the FOURTH time from FireFly/Sinecure!
Reply With Quote
  #87  
Old 12-07-2001, 12:12 PM
LuBi LuBi is offline
 
Join Date: Oct 2001
Posts: 416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by KuraFire
Okay this is fun. I installed it on my test board, followed the install instructions exactly, the admin panel part worked, the drop down prefix list appeared on the new thread pages...

but no matter how I tried to enter some options in the AP, the options Would Not Show Up in the drop-down menu!

BLAH!


also, I haven't quite figured out how to make it work for a single forum. Sooo, I'm gonna request the hack they implemented on this board for the FOURTH time from FireFly/Sinecure!
On this board, where? I installed the hack on my board at suprascene.com/forums it works. Well thanks, and goodluck! keep us posted!
Reply With Quote
  #88  
Old 12-07-2001, 02:43 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthrea...threadid=33009

Bah



I have no idea why it doesn't work for me. I even did the queries correctly, with null values and they appeared neatly after the highest value already in it, no problem. But still, I can't get the drop-down menu to show anything other than "Default (none)"
Reply With Quote
  #89  
Old 12-20-2001, 06:33 PM
Dalius Dalius is offline
 
Join Date: Oct 2001
Location: Canada!
Posts: 255
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where the hell is the link to dload?
Reply With Quote
  #90  
Old 12-20-2001, 07:49 PM
jamesdasher jamesdasher is offline
 
Join Date: Oct 2001
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is on this page...

https://vborg.vbsupport.ru/showthread.php?postid=200613

(hopefully that is right, page 4 for me)

James
Reply With Quote
  #91  
Old 12-23-2001, 01:26 AM
Sadie Frost's Avatar
Sadie Frost Sadie Frost is offline
 
Join Date: Dec 2001
Location: Pittsburgh
Posts: 307
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do I need to add ": $posttype" to one of my templates as RobAC suggested?

Edit: Scratch that - I have it in my newthread template.

I'm getting the options in the admin cp but I get no drop down box when I try to make a new thread.

I'm not sure if this will be helpful to anyone trying to figure this out, but if I view the source when I go to new thread, it doesn't seem to be accessing the posttype template. Do I maybe need to have something more that $posttyle in the newthread template? Or do I maybe have something wrong in the newpost_posttype template itself? If I go to newpost_posttype, edit, preview I get a drop down box, but it only gives me the default option, not any of the custom prefixes I've added in the admin cp.

Not sure if any of that is helpful to anyone, but I'd sure like to get this working

Edit again lol: Okay, new weird thing happening. When I post a new thread, there's no drop down box, but when I post as usual, what I've typed as the message become the prefix.

So if my subject is: Hi!
and message is: just checking things out

What is displayed in the forum is:

just checking things out: Hi!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04669 seconds
  • Memory Usage 2,306KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete