Guests Cursor

Started by Dzonny, August 06, 2009, 12:44:46 PM

Previous topic - Next topic

Dzonny


:: Guests Cursor ::
Author: Dzonny

Version 1.0
For smf 1.1.10 (use version 2.0 for newer smf versions)

Version 2.0
For smf 2.0 and 1.1.14 (should work with the latest versions too!)

Description:
This modification will add image using javascript,next to your guests cursor, untill they login or register. You can change image, it's position etc...
There is no need to enable anything from admin panel, just install this and it takes effect.


Features:
Cursor image for Guest.
You can use your own image for the guest.
Cursor image is hidden on register and login actions.
You can modify image type, position etc, easily in cursor.js file.


   Note: The mod doesn't seems to work with forums that has smf seo mods installed, and here is the solution for that:
http://www.simplemachines.org/community/index.php?topic=329267.msg2198150#msg2198150
Please note that this problem will be fixed soon.

- For custom themes, you'll need to edit your index.template.php, as it is said in parse of this mod.
- If you have some problems, comments or you need support for this mod, please use this topic instead of pm.





Sevgiformu.com

thank you very nice mod
   
but the image does not come into the category of messages on the home page and provide    
I wonder if my problem?

Kadimi

Congratulations... I'm still waiting for my mod to be approved

The cursed worked well on my forum (demo)
Currently working on http://www.ommahat.com/ a forum for successful mothers
My blog: http://www.kadimi.com/en/

TW1ST3D

Very Cool Mod !!  Good Thinking !!! Installed / working on multi-Themes........
Running 2.0 Gold.......SMF Rocks!!

Sevgiformu.com

Quote from: KIN on August 06, 2009, 03:18:40 PM
Congratulations... I'm still waiting for my mod to be approved

The cursed worked well on my forum (demo)
http://www.e-metals.com/index.php < No problem

http://www.e-metals.com/index.php/topic,2.0.html


problem

alex30

Thank you for this mod. It's very annoying one, should work.  :P

Doesn't appear in boards.

Kadimi

#6
Php Coder Turkish  has jus found a bug:

The image does not work when using SMF seo urls, and the solution suggested is to use ablolute image URL for the variable trailimage,

So instead of
var trailimage=["cursor.png", 44, 44]
you'd say
var trailimage=[smf_siteurl+"/cursor.png", 44, 44]
of course smf_siteurl is not defined, I'm coding it for you right now...

Edit:
Here you are:
smf_url = smf_scripturl.substr(0, smf_scripturl.indexOf("index.php", 0));
var trailimage=[smf_url+"/cursor.png", 44, 44]


I don't know if it will work with pretty urls and similar mods
Currently working on http://www.ommahat.com/ a forum for successful mothers
My blog: http://www.kadimi.com/en/

Sevgiformu.com


Sudhakar Arjunan

Good mod.

you have planned perfectly.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Kadimi

I hope mod author will fire an update soon...
Currently working on http://www.ommahat.com/ a forum for successful mothers
My blog: http://www.kadimi.com/en/

Dzonny

Quote from: Php Coder Turkish on August 06, 2009, 03:08:16 PM
thank you very nice mod

Quote from: KIN on August 06, 2009, 03:18:40 PM
Congratulations...

Quote from: TW1ST3D on August 06, 2009, 03:33:40 PM
Very Cool Mod !!  Good Thinking !!! Installed / working on multi-Themes........

Quote from: alex30 on August 06, 2009, 05:01:49 PM
Thank you for this mod. It's very annoying one, should work.  :P

Quote from: A.SK on August 06, 2009, 06:22:43 PM
Good mod.

you have planned perfectly.

thank you guys for your comment, it's appreciated.. :)

Quote from: KIN on August 06, 2009, 05:04:14 PM
Php Coder Turkish  has jus found a bug:

The image does not work when using SMF seo urls, and the solution suggested is to use ablolute image URL for the variable trailimage,

So instead of
var trailimage=["cursor.png", 44, 44]
you'd say
var trailimage=[smf_siteurl+"/cursor.png", 44, 44]
of course smf_siteurl is not defined, I'm coding it for you right now...

Edit:
Here you are:
smf_url = smf_scripturl.substr(0, smf_scripturl.indexOf("index.php", 0));
var trailimage=[smf_siteurl+"/cursor.png", 44, 44]


I don't know if it will work with pretty urls and similar mods

Thank you very much for this, i've just added info about it in first post....
Please note that this bug will be fixed shortly...

Sevgiformu.com

thanky you my forum :)

Dzonny

www.sevgiformu.com

Kadimi

Currently working on http://www.ommahat.com/ a forum for successful mothers
My blog: http://www.kadimi.com/en/

Dzonny

Thank you one again.

Think that it doesn't work with pretty urls, unless you change code as you've said.

Regards.

nitkayni

#14
cursor.js

find
var trailimage=["cursor.png", 44, 44]

Change
var smf_url = smf_scripturl.substr(0, smf_scripturl.indexOf("index.php", 0));
var trailimage=[smf_url+"/cursor.png", 44, 44]


demo

MF30


Bancherd

Nice!  Installed and worked perfectly on my site.  I also modified your mod to display reminder for unread personal messages, hope you don't mind.  ;D

Dzonny

Quote from: MF30 on August 11, 2009, 12:08:49 PM
Thanks Dzonny.
You're welcome... :)

Quote from: Bancherd on August 11, 2009, 07:06:18 PM
Nice!  Installed and worked perfectly on my site.  I also modified your mod to display reminder for unread personal messages, hope you don't mind.  ;D
Thanks Bancherd.
I'm okay with that. You can pm me if you want, and show me it, so we could make some mod with that also... :D

Regards.

Sudhakar Arjunan

Hi Dzonny,

I have to mentioned the specialty behind your excellent mod.

Earlier i used to get only registration between 15 - 25.

Now after installing your simple mod.

I have got 45 registrations as max and 27 as minimum.

Thanks a lot for your ideas and thoughts.
Working on New Mods & Themes for SMF... Will update soon... My Blog page
My Smf forum : Discuss ITAcumens :: My SMF Forum

Dzonny

Quote from: A.SK on August 13, 2009, 02:35:46 PM
Hi Dzonny,

I have to mentioned the specialty behind your excellent mod.

Earlier i used to get only registration between 15 - 25.

Now after installing your simple mod.

I have got 45 registrations as max and 27 as minimum.

Thanks a lot for your ideas and thoughts.

I'm glad to hear that.  :)
Thanks one again for your comment... :D

Advertisement: