![]() |
Quote:
uCash does not support 3rd party addons such as the "Ultra Itemshop". Please seek support in their release thread. |
Quote:
Thanks. |
Quote:
with one post only i can get the max number of points for a post with just typing 1 line it have many bugs |
Quote:
Do i know you? HEHE......small world. |
Quote:
|
Quote:
functions_newpost.php Change: PHP Code:
PHP Code:
|
Quote:
Doing it the way you suggest will cause issues down the road with any plugin that requires that hook, and previewing. |
Quote:
I also do not know how to change the code for uCash. Thanks. |
I'm afraid I am far too unwell to explain the entire vBulletin Hook system at the moment.
Basically, it was introduced with vB 3.5.x (the version that recently came out, replacing 3.0.x), allowing coders to make 'hacks' that did not require code modifications. Effectively, the php file is run, then when it comes to a 'hook' in the code, it looks in the database to see if anything additional is in that hook. By doing what you suggest, the php file will not look for that hook if the post is being Previewed. You need to go to the hook in your Plugin Manager and add the conditional you added to the php file in the hook for Ucash. |
Thanks!
Here is what I did. If we are not supposed to post code remove it at will. If the user is not doing a preview then we want to give them points. PHP Code:
PHP Code:
|
All times are GMT. The time now is 07:40 PM. |
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:
|