Thread Rating:
  • 5 Vote(s) - 3.4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] Image Magnify: Magify (Zoom) Images in Thread with Animated Jquery
#21
This user has been denied support. This user has been denied support.
Try to add:

<script type="text/javascript">jQuery.noConflict();</script>

before:

<script type="text/javascript" src="{$mybb->settings['bburl']}/jscripts/jquery/jquery-1.7.2.min.js"></script>
Reply
#22
Good job!
Reply
#23
Cool idea, but the code is kind of bugging me.

For example, in the activate function you're globalizing $db and $lang which is totally unnecessary for what you're doing. In the deactivate function you're globalizing things unnecessarily again, and for some reason you decided to call rebuild_settings(). You didn't even touch the settings. And in your last function you don't have to globalize anything either. $imgmagnify_domagnify doesn't even exist.

None of these cause errors or anything but it's unnecessary code that adds up and slows things down. I would highly recommend cleaning up your code. Also, is there a reason as to why you are loading jQuery 1.3.2 instead of 1.7.2? I checked and the script you're using has been recently updated to work with newer versions of jQuery, so I see no reason to stick with 1.3.2.
Reply
#24
This user has been denied support. This user has been denied support.
Thanks for pointing out Fabio. Smile

Actually when I was developing plugin, I had kept few optional settings, hence the globalizing of $db & $lang files, but later, they were removed. I believe I drastically forgot to remodify those codes, my bad, I would make an updated release soon.

Well, I had 1.3.2 and there was also certain thing (on my localhost which I was testing) which was failing on 1.7.2 but they both worked off on 1.3.2 nicely, so I kept that jQuery. Of course, for those who already use 1.7.2 doesn't need to use 1.3.2 . And PS on the jQuery site, 1.3.2 was considered to be the stable release, hence I made the decision to use 1.3.2 in this.

Cheers.
Reply
#25
I have followed all instructions on all the posts and still not working for me? any suggestions. Really would like to get this working correctily. Still opening up the photo's on a new page.

thanks in advance
Reply
#26
This user has been denied support. This user has been denied support.
(2012-06-17, 12:19 AM)amadorgold Wrote: I have followed all instructions on all the posts and still not working for me? any suggestions. Really would like to get this working correctily. Still opening up the photo's on a new page.

thanks in advance
You have any image resizer plugins activated?

Add this code to your headerinclude template and try to see if it does the job:

<script type="text/javascript">jQuery.noConflict();</script>
Reply
#27
can i use normal cursor instead of zoom cursor image....?? how to change that
Protect Your Site from Hacking
Change Admin folder name and Install Admin CP Honeypot Mod, Protect with .htaccess, Captcha is cracked by bots use Question answer mod in reg and during Posts to avoid spam bot registration, keep an eye on spam bot ip's http://www.blocklist.de/en/export.html
Reply
#28
This user has been denied support. This user has been denied support.
Just try to delete the cursor file (uploads/imgmagnify_cursor/magnify.cur) and then try.
Reply
#29
This user has been denied support. This user has been denied support.
I did the troubleshooting steps, and it still doesn't work.
Reply
#30
This user has been denied support. This user has been denied support.
(2012-07-06, 02:19 AM)xvidmaster97x Wrote: I did the troubleshooting steps, and it still doesn't work.
Paste your headerinclude template and a link to your site's thread which contains images.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)