![]() |
update the hack one more time. :D
this time i'll add the feature requested by squawell... :D hope this will work for ya... |
I just installed this (with no problems, I might add. Great directions! :)) and I see there is an update already. Can you tell us what exactly you changed so we don't have to go through it all again? And can we have an option NOT to force the user to pick a Custom Prefix if we don't want to force that option?
|
I forgot to add, can we set this on a parent forum and have it just treat the forums under the parent the same? If I missed something, sorry. :)
|
Boofo:
1. could you what format should i do for the updates? should i create another file just for updates or just list the updates at the bottom of the file... or should i just paste it here in the forum... 2. I'll do it later this evening or tomorrow... :D 3. No.. :D Each forum have their own prefixes setting.. :D |
Putting it in the text file under a special section at the top would be good (or bottom). And posting it in here might not be a bad idea either.
Is there a way to add something to this so we can set it in the parent to work on all forums underneath it if we want to? An option, maybe? Any way to have it not force the user to pick, too? :) Quote:
|
okey.. i'll make the changes for the future updates.. thanks for the input.. :D
wait for the new updates... :D |
Great! I'll be looking forward to it. Thank you for all of your hard work. :)
|
Quote:
but which part should i edit??i cannt see whats different with the code?? :( |
This is one great hack ..
Thanks burnz .. i got my copy and will try installing later on tonight .. then i will be back for clicking the INSTALL btn. Good Work Indeed. |
Thanx Burnz!
Installation was very easy and works like a charm on 2.2.7 (with many many modifications) ;) [high]* Minifreunde klicks install!![/high] |
to update from 1.1 to 1.2 I would..
i dont wanna have to rehack it :( |
the change from version 1.1 to 1.2 is on the newthred.php and editpost.php file :D
newthread.php Find: PHP Code:
PHP Code:
Find: PHP Code:
PHP Code:
editpost.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
Below is the update for version 1.1 but i forgot to include it with version 1.1. please check the code.. sory for the mess.. Find: (version 1.1) PHP Code:
PHP Code:
PHP Code:
Create new template name error_posttype Code:
//regards... |
MalaK_3araby : hope this hack will help you.. :D
Minifreunde: glad to hear that... hope you like my small hack... :D if you guys have any problem.. just tell me.. i'll try to help you out.. :D |
Have you updated the install file yet? And have you added the feature not to force the custom prefix option? :)
|
Boofo: just finish the hack.. but not yet test... i'll will upload it tomorrow.. :D sory for the delay.. :D
|
i think it should be creat a new template--error_posttype
right?? |
Ok, great! I'll wait for the update from you before I update it then. :)
Quote:
|
I have an error where everything works, but when my users try to submit new threads in forums where its not being used, they get the error message? anyone have any clues, im stummped.. I even rehacked it all and still got the same problem.
|
Are you using the updated version or the first version in the first post? I am using the version from the first post and I just tried posting in a forum that doesn't have the prefix enabled in it and it did the new thread just fine.
Quote:
|
sory guys... it have an error in the version 1.2 code... a stupid error... :(
please use the code in version 1.1... do not use the version 1.2 because there is an error on the coding.. will debug the code as soon as possible... sory for the inconvenience... :( //regards.... |
thx man, I love the way users have to use the feature, any chance in 1.3 to have an option "enforce prefix use" in the edit froum details.. thx anyways I will be posted for the new code :D
|
okey guys... i'm sory for the version 1.2 :(
i'll mess up the code... and it's a really stupid mistake that i made... :( i already update the hack and include the upgrade file... hope it works... regards.... |
thx man I will try it out later today.. :)
|
This looks like it's a GREAT hack! I got it installed with no errors, I double checked that it added all the right fields to the tables, etc and I did my best to doublecheck the php added and everything SEEMS fine..
Except that the customprefix is NOT being saved in the thread table at all. Can anyone help me narrow down where this error might be occuring? Thanks in advance. :) |
Okay, nevermind my above post.
I used vbPortal and it turns out in editpost.php I accidentally pasted some text right into a commented out line. :) All is well now and it works *GREAT* !! |
:D glad you use the hack... hope you like it.. :D
|
burnz, any chance of getting an option to turn the "force user to pick custom prefix" on and off in the Admin CP? :)
|
Boofo: version 1.3 already have that option... it's under forum permission... or under edit forum...
//regards |
Ok, thanks. I haven't updated yet. I was waiting for everything to get done. Sorry about that. :)
|
that's okey... not a problem.. :D
|
This sounds like a great add-on, I'll have to try it :)
|
it is a great add-on.. :D
|
Sweet hack! Excellent job!
/me clicks install... |
thank you very much... :D
hope you like it.. |
I like this hack but think it could use one more additional feature. A check to see if the change of the prefix when editing a post is being done in the first post, else it will not update it.
As it is now, and one in a thread can edit their post and change the prefix to whatever they wish. |
Nevermind, I was able to find some code within Editpost.php to use to make it so that the drop down for the prefix only shows when editing the first post myself. :)
Nice hack. Thanks. :) |
Quote:
thankz... |
This probably isn?t the most efficient way to do it, but here is how I did my editpost.php file modification so that only when editing the first post would you be able to change the topic prefix. Changes are in the attached file. Use them in place of the modifications for editpost.php for this hack if you like my method of implementation.
All credit for this really does go to the original hack?s author. I just modified it for my needs and do thank him for the well-written and powerful hack. :) |
Thanks for the update of the code.. i will apply it to the original code soon... right now I'm kinda busy with the other project...
|
Quote:
it works well........ :D |
All times are GMT. The time now is 05:52 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|