Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

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
  #82  
Old 10-16-2002, 02:32 AM
SWFans.net's Avatar
SWFans.net SWFans.net is offline
 
Join Date: Oct 2001
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had to make a small change to the file. I had forgotten to use the firstpost evaluation for the error message portion in edit post. The way I had it before editing the attachment, if you had the option to force users to use a prefix, none would have been able to edit their posts without getting the error to select a prefix. That has been fixed now, sorry.
Reply With Quote
  #83  
Old 10-17-2002, 10:55 AM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by SWFans.net
I had to make a small change to the file. I had forgotten to use the firstpost evaluation for the error message portion in edit post. The way I had it before editing the attachment, if you had the option to force users to use a prefix, none would have been able to edit their posts without getting the error to select a prefix. That has been fixed now, sorry.
thankz man...i just find that problem and u give me answer.....

thankz again.....
Reply With Quote
  #84  
Old 11-11-2002, 09:52 PM
Odysseus's Avatar
Odysseus Odysseus is offline
 
Join Date: Oct 2002
Location: Regensburg, Germany
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gorgeous!
That's exactly what I needed.

Big Thanks to the author! :banana:

(I clicked the INSTALL button.)
Reply With Quote
  #85  
Old 11-12-2002, 12:49 AM
burnz burnz is offline
 
Join Date: Jun 2002
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

glad to hear that..

you are welcome..
Reply With Quote
  #86  
Old 11-27-2002, 07:17 PM
Odysseus's Avatar
Odysseus Odysseus is offline
 
Join Date: Oct 2002
Location: Regensburg, Germany
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm ... problems.

Some of my useres cannot see the prefix-selection.
They so cannot open new threads in forums which have "forcecustonprefix" enabled.

I checked the permissions for every group and every forum. In the "user" table, the "Registered" group has "canusepostprefixes" enabled. In the "forumpermissions" table, virtually EVERY entry has "canusepostprefixes" enabled, also.

Doing the latter helped many users, but some not.
What might be the reason?
Reply With Quote
  #87  
Old 11-28-2002, 12:27 AM
burnz burnz is offline
 
Join Date: Jun 2002
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

please check under Admin CP and under Forums & Moderator and click modify.. make sure the option under that particular forum is setting properly...

thanks for using my hack..
Reply With Quote
  #88  
Old 11-28-2002, 10:22 AM
Odysseus's Avatar
Odysseus Odysseus is offline
 
Join Date: Oct 2002
Location: Regensburg, Germany
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I got the bug.

I have also installed the WYSIWYG Editor Hack but forgot to update its custom newthread an editpost templates for one Styleset. As a result, all users who are using the WYSIWYG editor AND this styleset, the prefix selection box was not shown to.

Thanks for your time, burnz, and for this well-written, powerfol and absolutely gorgeous hack!
Reply With Quote
  #89  
Old 11-29-2002, 01:37 AM
burnz burnz is offline
 
Join Date: Jun 2002
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Odysseus
OK, I got the bug.

I have also installed the WYSIWYG Editor Hack but forgot to update its custom newthread an editpost templates for one Styleset. As a result, all users who are using the WYSIWYG editor AND this styleset, the prefix selection box was not shown to.

Thanks for your time, burnz, and for this well-written, powerfol and absolutely gorgeous hack!
thanks Odysseus for using the hack. hope you like it...
Reply With Quote
  #90  
Old 12-03-2002, 01:24 AM
SpeedStreet SpeedStreet is offline
 
Join Date: Aug 2002
Posts: 291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Hack.

This has been something I was looking for.

Quick question though. For some reason, my post prefix does NOT appear if I select BE OVERWRITTEN, They Appear twice if I select SHOW BOTH and they appear right if I select OVERWRITE.

Does anyone have a solution for this? I read through the thread, and haven't found any answers.

Great Hack!
Reply With Quote
  #91  
Old 12-03-2002, 05:24 AM
Odysseus's Avatar
Odysseus Odysseus is offline
 
Join Date: Oct 2002
Location: Regensburg, Germany
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BE OVERWRITTEN means, the your prefixes are overwritten "Sticky", "Poll" etc.
Select OVERWRITE in order to let the vB-Prefixes be overwritten by your prefixes.
Reply With Quote
Reply


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 12:38 AM.


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.04878 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
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
  • (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_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