Thread Rating:
  • 45 Vote(s) - 3.73 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Script to Update Plugins for 1.6.5
#19
Not Solved
(2011-11-30, 10:44 AM)fakhrul Wrote: work great!

[Image: hookupdate.jpg]

Thanks pave

/edit.

After using this hookupdate , i found that some of the plugins not work.
For example tagging plugin ( http://mods.mybb.com/view/tagging-plugin ) doesnt appear in plugins configuration menu. I check that the hook plugins remove the script in inc/plugins/tagging.php .

So , i download the new one , open it in WorPad , using find function ( ctrl + F ) to find function script. After that simply add the & before $

for example :

function tagging_get_user($p)

simply add & to make it like this

function tagging_get_user(&$p)

read at first post of pave , u will know how to do this.

tagging plugins that i have update can be found here : http://pastebin.com/ptTV1Yk5

Thanks for all.

You don't need to add the "&" everytime there is a "$" in a function call.

I fixed the script to deal with what was causing the problem with this plugin, it was not dealing with inline comments to the add_hooks lines when searching for the functions to modify. This is what was breaking the plugin after the update.

The new script is attached to the first post, sorry for the problem
Lost interest, sold my sites, will browse here once in a while. It's been fun.


Messages In This Thread
Script to Update Plugins for 1.6.5 - by pavemen - 2011-11-28, 05:47 AM
RE: Script to Update Plugins for 1.6.5 - by pavemen - 2011-11-30, 05:06 PM
RE: Script to Update Plugins for 1.6.5 - by alv4 - 2011-12-03, 03:00 PM
RE: Script to Update Plugins for 1.6.5 - by lexy - 2011-12-07, 07:39 PM
RE: Script to Update Plugins for 1.6.5 - by lexy - 2011-12-07, 08:08 PM
RE: Script to Update Plugins for 1.6.5 - by lexy - 2011-12-15, 03:31 PM
RE: Script to Update Plugins for 1.6.5 - by lexy - 2011-12-15, 04:44 PM
RE: Script to Update Plugins for 1.6.5 - by lexy - 2011-12-25, 10:30 AM
RE: Script to Update Plugins for 1.6.5 - by lexy - 2011-12-25, 05:42 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)