![]() |
Quote:
Second link. |
yeah i have seen that link already...
i also opened a ticket to cloudflare... and they are giving me those 2 options... I already installed this add-on and the option 2 is somehow difficult because of the construction of code... How to do this: PHP Code:
PHP Code:
|
THANK YOU for this excellent hack Paul!
|
Paul, thanks for the hacks!
Question, I am upgrading my 3.8 forum to 4.2. the forum has quite a few posts (15mil) and modifying the post table on the uninstall of the old mod and then the install of the new version is quite a headache and server intensive. I was looking at the code and it appears to me the only difference is that the old proxyip field was varchar(20) whereas the new one calls for varchar(15). I'm guessing modifying the product code to not drop this column wouldn't cause a problem right? Those extra 5 characters shouldn't be an issue in my opinion but my database skills are not super high. So basically before uninstalling the old mod change the code to not drop the column and then modify the new plugin xml to not add the column. Note, I'm not asking for instruction of how to do that I can handle that part, just curious if you think this will break anything or cause problems. |
That sounds fine to me.
However - if you just install the new one, without uninstalling the old one, the new one will remove the old product without running the uninstall code anyway. Same effect, less effort. :) |
Paul, how do we nominate this modification for the MOTM? I saw no link or directions...:confused:
|
Quote:
|
LOL, so it is. I never noticed that. :)
|
Quote:
Where would I place this in the class_core.php?? Dave |
Quote:
|
All times are GMT. The time now is 05:04 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:
|