vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - [OzzModz] URL Icon Before Or After Links In Posts (https://vborg.vbsupport.ru/showthread.php?t=314177)

ozzy47 10-05-2014 04:51 PM

Not a problem. :)
What in the description made you think you could do that? Was it not clear enough? Just so I know if I need to change the wording.

mitch84 10-06-2014 06:08 AM

just my english in not perfect :o

Marcin1 10-06-2014 11:33 AM

It's not working for me after update of product. I reinstalled and nothing show up.

ozzy47 10-06-2014 11:46 AM

What version did you upgrade from?
Did you check your stylevars and make sure a image is set?
Are the images it the correct location?

Marcin1 10-06-2014 12:35 PM

It was upgraded from 1.1.0 but didn't work so I uninstalled completely and reinstalled again.

I checkec stylevars and looks ok. Image name url.png

The images are in ozzmodz_mods/ozzmodz_url_icon/images

ozzy47 10-06-2014 12:44 PM

What about on a unmodified default style?
Does it work with all other mods disabled?

Marcin1 10-06-2014 01:43 PM

Is possible to upload a 1.1.0 version?

ozzy47 10-06-2014 02:05 PM

Did you try the above?

Marcin1 10-06-2014 02:18 PM

Not working at all. I'd like to try a version before upgrading.

ozzy47 10-06-2014 11:21 PM

So v1.1.0 was working for you?

Marcin1 10-07-2014 06:52 AM

Exactly, it was. That's why I marked as installed but after upgrade not working at all.

ozzy47 10-07-2014 09:00 AM

Ok try this then.

Marcin1 10-07-2014 02:03 PM

It's working on older version. I tried to upgrade again and nothing displayed, so back to 1.1.0 Where is a mistake?

ozzy47 10-07-2014 07:51 PM

Not sure, I see the same thing as you are reporting on a new site. Will look into it in a bit.

ozzy47 10-07-2014 10:11 PM

Ok try v2.0.1 that should solve it.

ozzy47 10-07-2014 10:12 PM

v2.0.1 (October 7, 2014)
- Fixed a issue with the CSS not showing in v2.0.0

Marcin1 10-08-2014 03:16 AM

It's working now for me. Thanks!

ozzy47 10-08-2014 08:59 AM

Glad to hear. :)

thetechgenius 10-09-2014 10:32 PM

If anyone wants different "Internal Link" images, I have 4 different ones I found online, I use the orange one to match better with my forum style. Thanks for the Addon ozzy!

These images are 16x16, same as ozzy's. But I do have them in 32x32 if anyone needs them. Just let me know if you need the larger images, and ill upload them.

ozzy47 10-09-2014 10:36 PM

Quote:

Originally Posted by thetechgenius (Post 2518293)
If anyone wants different "Internal Link" images, I have 4 different ones I found online, I use the orange one to match better with my forum style. Thanks for the Addon ozzy!

These images are 16x16, same as ozzy's. But I do have them in 32x32 if anyone needs them. Just let me know if you need the larger images, and ill upload them.

Thanks for sharing the images you found. :)

ozzy47 12-04-2014 12:55 AM

v2.0.2
Added a fix for a potential minor XSS exploit. There was no one that reported this, this is just a update to make sure the mod is fully secure.

pablodip 12-07-2014 08:11 PM

it's very helpful

ozzy47 12-07-2014 08:16 PM

Glad you like it, and thanks for marking as installed. :)

CAG CheechDogg 12-10-2014 09:50 AM

Ozzy my Man... for me it doesn't give me the options "edit" "delete" in the settings ...

Also all links have the external image even though the links are internal ... any idea?

Black Snow 12-10-2014 09:59 AM

Quote:

Originally Posted by CAG CheechDogg (Post 2526569)
Ozzy my Man... for me it doesn't give me the options "edit" "delete" in the settings ...

Also all links have the external image even though the links are internal ... any idea?

The edit/delete links are only when debug mode (I think it's called) is enabled. It more for developers.

It seems from the image in the OP that it shows an image for internal and external links but with an option to have different ones for both.

CAG CheechDogg 12-10-2014 10:03 AM

Ok...edit/delete question answered..

I still don't get the internal image for internal links ..still getting the external for all links ...

Could it be because I have https instead of http?

CAG CheechDogg 12-10-2014 10:23 AM

YEEP !!! That was the issue...

Because I have https enabled on my site the install code has only (http) all through the install xml file ..


This is what I changed for it to work, I replaced all the http references to https ....

Code:

from

$domain = htmlspecialchars_uni($_SERVER['HTTP_HOST']);

to

$domain = htmlspecialchars_uni($_SERVER['HTTPS_HOST']);

from

if (href.indexOf("http://")!=-1)

to

if (href.indexOf("https://")!=-1)

from

//return (href.indexOf("http://")!=-1 && href.indexOf(hostname)==-1) ? false : true;

to

//return (href.indexOf("https://")!=-1 && href.indexOf(hostname)==-1) ? false : true;


Black Snow 12-10-2014 10:26 AM

Perhaps ozzy47 can update the mod to reflect domain which use HTTPS so people don't have to edit the mod.

CAG CheechDogg 12-10-2014 10:35 AM

Yes..I am sure he will be able to update as soon as he has time ...hes DA' MAN !!! :)

Black Snow 12-10-2014 10:37 AM

Another option in the settings to allow admins to select if they use HTTP or HTTPS might do the trick with an edit to the plugin(s) to reflect the new settings.

CAG CheechDogg 12-10-2014 10:51 AM

That would be good too Black Snow ... but I think a small change to the code and he can make it work with both ....I just don't know how to do it myself that way ... :)

ozzy47 12-10-2014 11:05 AM

Yeah I can look into it as soon as I get some free time. Glad you were able to figure out the issue though. :)

CAG CheechDogg 12-10-2014 11:07 AM

No problem Ozzy ... thanks for this nice little mod ....:P


All times are GMT. The time now is 04:34 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
  • Page Generation 0.01251 seconds
  • Memory Usage 1,772KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete