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

Reply
 
Thread Tools
Custom Post Prefixes (modified) Details »»
Custom Post Prefixes (modified)
Version: 1.00, by burnz burnz is offline
Developer Last Online: Jun 2005 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-28-2002 Last Update: Never Installs: 25
 
No support by the author.

Custom Post Prefixes

This hack is a modified version of apfeifer Custom Post Prefixes. This modified hack have an ability to assign different forum with a different post prefixes.. also have an ability to change the post prefixes while editing the post..

UPDATES:

Version 1.3
- Update the stupid error that i made.. sory guys..
- Fully working code for forcing user to select the post prefix before posting.

Version 1.2
- Display an error page if user did not select any option from the post prefix list. (suggested by squawell)

Version 1.1
-Enable/disable the Post Prefix function from Forum Permissions under User Group or Forums & Moderators menu (suggested by HellSatan)

Feedback will be appreciated....

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 12-03-2002, 02:43 PM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand the concept.

But the problem is, regardless of the setting, it affects ALL of my threads in showthread. Essentially, even those that do not have a Sticky tag attached to them are replicated, don't show up at all, or appear properly.

Does that make sense?
Reply With Quote
  #93  
Old 12-03-2002, 03:26 PM
Xer Xer is offline
 
Join Date: May 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can i set all user MUST use prefixes?
Reply With Quote
  #94  
Old 12-03-2002, 03:39 PM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yup.
Reply With Quote
  #95  
Old 12-03-2002, 04:43 PM
Xer Xer is offline
 
Join Date: May 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so many file need goto edit......
installed... is so Rockl!

THX~ :bunny:
Reply With Quote
  #96  
Old 12-04-2002, 12:18 PM
Xer Xer is offline
 
Join Date: May 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got many many Database Error Mail....


Quote:
Database error in vBulletin 2.2.9:

Invalid SQL:
SELECT IF(votenum>=2,votenum,0) AS votenum,
IF(votenum>=2 AND votenum > 0,votetotal/votenum,0) AS voteavg, icon.title as icontitle,icon.iconpath,
thread.threadid,thread.title,lastpost, forumid,pollid,open,replycount,postusername,postus erid,
lastposter,thread.dateline,views,thread.iconid,not es,thread.visible,sticky,votetotal,attach,custompr efix
FROM thread
LEFT JOIN icon ON (icon.iconid = thread.iconid)

WHERE thread.threadid IN (0,12,9,8,3,6,7,5,4,1,2)
ORDER BY sticky DESC, lastpost DESC

mysql error: Unknown column 'customprefix' in 'field list'

mysql error number: 1054

Date: Wednesday 04th of December 2002 02:28:37 AM
Reply With Quote
  #97  
Old 12-05-2002, 02:51 PM
ULTIMATESSJ's Avatar
ULTIMATESSJ ULTIMATESSJ is offline
 
Join Date: Nov 2001
Location: Bristol, England
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for this hack, can you make it so that u can also add fields to the posting page, but have them show on on the actual thread as well as in the thread display place, or does this have to be done manually
Reply With Quote
  #98  
Old 12-05-2002, 05:02 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xer
i got many many Database Error Mail....


maybe u forget run queries....

u should take look the txt again.....
Reply With Quote
  #99  
Old 01-25-2003, 09:27 PM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found a bug with this hack:

In a forum, where a user must specify a postprefix, they cannot edit a reply to a thread. Because the postprefix is required, they can't, however they can't select a post prefix as it's a reply.

Help
Reply With Quote
  #100  
Old 04-17-2003, 07:10 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hello burnz i have a question~~~

i use quick post new thread function~~~and i also want to add

the post prefix but it cant work can u take a look the txt file~~~

tell me how to do can make it work....
Reply With Quote
  #101  
Old 04-30-2003, 01:16 AM
cinq's Avatar
cinq cinq is offline
 
Join Date: Oct 2002
Posts: 1,398
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
01-26-03 at 08:27 AM N9ne said this in Post #98
I found a bug with this hack:

In a forum, where a user must specify a postprefix, they cannot edit a reply to a thread. Because the postprefix is required, they can't, however they can't select a post prefix as it's a reply.


This bug been fixed ?
Would really love to have this hack on my board
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 01:20 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.03198 seconds
  • Memory Usage 2,297KB
  • 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
  • (3)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
  • (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
  • 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