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 (modified) (https://vborg.vbsupport.ru/showthread.php?t=42890)

SWFans.net 10-16-2002 02:32 AM

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.

squawell 10-17-2002 10:55 AM

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

Odysseus 11-11-2002 09:52 PM

Gorgeous!
That's exactly what I needed.

Big Thanks to the author! :banana:

(I clicked the INSTALL button.)

burnz 11-12-2002 12:49 AM

glad to hear that.. :D

you are welcome.. :D

Odysseus 11-27-2002 07:17 PM

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?

burnz 11-28-2002 12:27 AM

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

Odysseus 11-28-2002 10:22 AM

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!

burnz 11-29-2002 01:37 AM

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

SpeedStreet 12-03-2002 01:24 AM

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!

Odysseus 12-03-2002 05:24 AM

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.

SpeedStreet 12-03-2002 02:43 PM

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?

Xer 12-03-2002 03:26 PM

can i set all user MUST use prefixes?

SpeedStreet 12-03-2002 03:39 PM

yup.

Xer 12-03-2002 04:43 PM

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

THX~ :bunny:

Xer 12-04-2002 12:18 PM

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

ULTIMATESSJ 12-05-2002 02:51 PM

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

squawell 12-05-2002 05:02 PM

Quote:

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



maybe u forget run queries....

u should take look the txt again.....

N9ne 01-25-2003 09:27 PM

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 :(

squawell 04-17-2003 07:10 PM

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

cinq 04-30-2003 01:16 AM

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

BigJohnson 05-07-2003 10:20 PM

I am having a problem. Once u make a post and u choose a prefix and then u go edit the post. In the edit post area you the prefix u selected is not chosen. It just says the default (none). How do i get it to select the prefix that was originally chosen?

It looks like the edit post code has the code already but it is not working for me.

Is anyone else experiencing the same problem?

SWFans.net 05-08-2003 03:45 AM

Quote:

04-29-03 at 08:16 PM cinq said this in Post #100
This bug been fixed ?
Would really love to have this hack on my board :)

Check the attachment in post #78 for a fix for that issue.

BigJohnson 05-11-2003 12:17 AM

Bump

Read my last post. Need help. Is anyone having same problem/

PurpleCow 08-10-2003 03:43 AM

I really want to use this hack on my boards. I am yet to install. before, i proceed, is it okay to use the ver 1.3 posted in the first post ( any bugs?? ).

Also, does this hackw ork on ver.2.30 perfectly without ant probs ??

Thank you very much for the hack, burnz !

Cheers

influence 09-20-2003 02:35 PM

thanks burnz and SWFans.net

I really needed this.

torqueroll 09-26-2003 12:18 AM

This hack looks very helpful, but I was wondering if 2 things could be added (or it there is already a hack that does it).

Lets say I have 2 custom prefixes: For Sale / Wanted

1. If I show 30 threads per page (for example), I would like to have the 25 most recent For Sale Ads, followed by the 5 most recent Wanted Ads, on the first page. same for the 2nd page of threads.

2. Be able to specify a different background color on the list of threads page based on custom prefix.

Is this possible?

shadow187 09-29-2003 08:47 AM

Very nice hack indeed,

installed it and loved it.......

However, there is still one minor thing that i liked to be added....

If you change you're postprefix , let say from "bought" to "read". Is it possible to update the complete thread, so that the thread is shown at the top of the forum....

Can you maybe have a look into this, cause i really would like to have this feature....

Thanks inadvandce

batchmove 10-17-2003 07:48 PM

Hello!
I hope it can read. My English is not the best. Does it give the possibility of integrating in the forum overview an option box it to the user made possible to be able to be been noticeable only the topics which it selects? Example: in the forum "cars" the prefixes: "engine", "chassis", "Design", "HiFi". the user selects now in the selection box "chassis" and now is only all contributions to be indicated, which have the prefix "chassis", no different.

Destiny Islands 10-24-2003 03:00 PM

Hey I just installed this hack on my vB2.3.2 and it works grea! I am going to use this for a gaming forum option. Thanks for the great hack. Had a bit of a problem with figuing out how to post but then figured out you had to hit NO to an option for Force Members to use Prefix. Thanks for the great hack!

/me Clicks Install!

Smike 05-17-2004 12:02 PM

Nice hack ! but where can i found it for vb 3.1 ?

mod2000 01-02-2005 01:15 AM

Is this hack compatible with 3.0.3 ?? I need it realy fast.

bexie 01-18-2005 11:15 PM

I installed it for 2.3.2, and now I can't create forums. When I go to create one, it doesn't give me the option of where to put it (IE, what it should become a subforum of) and so I only get SQL errors.

How can I either fix this, or uninstall the hack?

mod2000 05-16-2006 07:51 AM

Can anyone write an product file for 3.5.x ? I love this hack but now i use 3.5.4 and i can't usw ist :( I have no (realy NO) experience with writing product files.
Are there a tutorial or something to learn more about writing a product file for an extension ???


All times are GMT. The time now is 05:50 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.01306 seconds
  • Memory Usage 1,809KB
  • 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
  • (6)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
  • (33)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