vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Word Links FREE (Turn words into links) by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=263699)

BirdOPrey5 05-20-2011 06:46 PM

Updated to 0.95- added option to enable or disable in PMs.

Alan_SP 05-23-2011 01:09 AM

Thanks man, you really do make great mods. :up:

Few suggestions:

1) Most important, if you could make it that every word/phrase and it's link is in one row on it's own special page.

So we make it something like this:

Link word or phrase - http://link.to.some.website/

It would make it much more easier to manage words/phrases and belonging links when we have more links. And we all will. :)

2. Make this page available through front end to chosen usergroups (admins of course), or maybe even to certain users. It's much easier to do some things without need to go to admincp. And I could give task of entering word-links to someone who isn't admin.

3. Add ability to set description of link (title="link description"), so we could inform users where this links leads to. It's excellent for advertising purposes, we could sell words etc.

I'd like to see it in same line with other links info:

Link word or phrase - http://link.to.some.website/ - link description

4. Ability to time expire word links. If we sell someone word link, it would be much easier that they expire automatically. Of course, everything would be in same line:

Link word or phrase - http://link.to.some.website/ - link description - expiration date

I hope that you could make at least suggestions 1,3 and 4. Not sure but I think they are relatively easy to implement. It would make this mod really great.

BirdOPrey5 05-23-2011 02:03 AM

1 and 3 I can certainly consider... 2 isn't my thing, it would far complicate things, sorry. 4 I will consider too, would be possible but you wouldn't want too many expired words to get stuck in the list, it would start to affect performance eventually- It's really better to just remove them manually. But I'll see what I can do.

Alan_SP 05-23-2011 03:41 PM

Ok, if you can make 1 and 3, it would be very useful. Especially 1, it makes everything much more logical to find. Automatically expiring links makes things easier, I certainly would like to see it and I can prune it afterwards. If you maybe enable sorting of words by some criteria (expired or not, etc), so we know what links are expired?

BirdOPrey5 05-23-2011 04:17 PM

Quote:

Originally Posted by Alan_SP (Post 2199135)
. If you maybe enable sorting of words by some criteria (expired or not, etc), so we know what links are expired?

No, again that would add complexity I'm not willing to put that much time into it.

Alan_SP 05-23-2011 04:24 PM

Ok, how about categories? So we can sort words in categories and be able to find them easier?

TheLastSuperman 05-23-2011 06:21 PM

Love it Bop, great idea!

danyxxx 05-24-2011 08:00 AM

This mode affect the bbcodes (all bbcodes) .
For bbcode [code] , [php] , [htm], etc -> you'll see this:

style="height:THE-SIZEpx;"> -- instead "THE-SIZE" you'll find the number

How I can fix this? Here a print after I put ON this mode:

http://a.yfrog.com/img842/2853/58282962.png


If I disable this plugin , everything it's ok .
Maybe one option for the bbcodes exceptions will help this mode :( I mean if the future option will be on the bbcodes will not be affected ...

BirdOPrey5 05-24-2011 11:32 AM

I just tested the above with no problem... My guess is one of your keywords is the problem. Please paste here a list of your keywords and I'll see what the conflict is.

Thanks.

danyxxx 05-24-2011 12:04 PM

PHP Code:

sv_downloadurl
compiler
compileaza
culori
rgb
hex
culoare
sanctiune
sanctiuni
sanctions
country
tara
server dr
server deathrun
addonsuri
cereri pluginuri
modificari pluginuri
pluginuri
plugin
plugins
harta
map
maps
tutorials
tutoriale
tutorial
reguli
regulament
regula 1.h
regula 1.h
.
regula 1.d
regula 1h
regula 1d
regula 1
regula 2
regula 3
rule
steam community
steam
zombie
zombie resources
resurse zombi
zombi
cereri resurse
probleme server
probleme srv
probleme client
probleme joc
probleme
regulile
cs
counter
-strike
counter strike
counter
softuri
softs
soft
cerere
web
-design
web design
design
windows
linux
fifa
theme
styles
style
templates
template
teme 

:) I waiting for your reply .


EDIT

I remove those:

PHP Code:

styles
style 

And now it's working OK , installed and nominated , it's a verry god mode and the idea to , of course :)
Keep doing this pretty and god work !

BirdOPrey5 05-24-2011 09:51 PM

Great you got it working. In testing I find styles (with an s at the end) should also work. "style" however will cause this problem.

Since the following words are used in HTML tags I would avoid them as keywords:
style, div, class, pre, href, img, html, meta, name, rel, nofollow, and link.

I would also avoid any single letter or two letter keywords since they could easily be used accidentally in places you weren't intending.

In a future version I will try and add a check to make sure bad keywords aren't entered into the settings to begin with.

iglow 05-25-2011 12:45 PM

okay a question:
1. how to update this without uninstalling? [so i dont loose my current setups]

2. ive found a bug.
heres how to replicate:

the url is: http://mysite.com/xxx
the word to put link at is xxx
theres a post with text that uses already a link:
Code:

xxx site blabla
the plugin will mess this up. makingthe url not working at all and putting html code.

Kolbi 05-25-2011 01:29 PM

@Alan

I guess your ideas are good but I would like to have a simple lightweight addon, so I don't support your ideas!

@danyxxx

I would use as less keywords as possible

BirdOPrey5 05-26-2011 01:24 AM

Quote:

Originally Posted by iglow (Post 2199771)
okay a question:
1. how to update this without uninstalling? [so i dont loose my current setups]

2. ive found a bug.
heres how to replicate:

the url is: http://mysite.com/xxx
the word to put link at is xxx
theres a post with text that uses already a link:
Code:

xxx site blabla
the plugin will mess this up. makingthe url not working at all and putting html code.

1.) To upgrade import the product xml file as normal but choose "allow overwrite" to be "yes." This should usually keep your settings. HOWEVER if you really have a lot of keywords I would copy and paste them into a text file and save it just in case, you could always copy and paste the settings back.

2.) I am trying to reproduce the issue but it's working fine for me... can you tell me what 'xxx' is for you, it may be one of the few words that are part of HTML and won't work. I thought I got them all in a previous post but I may have missed some.

iglow 05-26-2011 01:53 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2200039)
1.) am trying to reproduce the issue but it's working fine for me... can you tell me what 'xxx' is for you, it may be one of the few words that are part of HTML and won't work. I thought I got them all in a previous post but I may have missed some.


the word is ubot, so no its not any of them.
http://blackhatpwnage.com/ubot/ was the url, and the link was this link anchored to Ubot Studio.

in ur panel i had
Ubot Studio
ubot

dont know if that does any difference, thats not html words

BirdOPrey5 05-26-2011 02:16 AM

I'm sorry I'm trying but can't seem to replicate... can you post a screen shot?

Also want to confirm if both ubot and ubot studio are keywords that ubot studio comes first in the settings.

AURFSCAN 05-29-2011 10:05 AM

good one BOP.. works perfectly

ALBCODERS 05-29-2011 10:15 AM

great mod for seo thanks, installed... I didn't see any opsion tu turn off/on the nofollow mode for links..

AURFSCAN 05-31-2011 12:02 AM

Quote:

Originally Posted by AURFSCAN (Post 2201205)
good one BOP.. works perfectly

Sorry BOP... gonna have to take that back..

Makes AME3 unusable, eg. wont convert links to vids. Disabled and ame works fine. Mod disabled for the time being.

BirdOPrey5 05-31-2011 12:44 AM

It should only interfere with AME if a keyword is used in the AME URL... Is it interfering with all your AME links?

I don't have AME 3 installed... honestly I didn't even know AME 3 was working- last time I visited the thread it looked like a new version of VB 4.x broke it.

BirdOPrey5 05-31-2011 01:07 AM

Now I take what I said back... I just installed AME 3 on my test board and had no issues.

I linked this video: http://www.youtube.com/watch?v=ypzR0...rec_grec_index

With both "watch" and "beagle" as keywords and AME displayed the video just fine.

Can you give me the exact keyword and a video link that isn't working?

daveaite 05-31-2011 01:10 AM

Briliant idea! +1.

AURFSCAN 05-31-2011 01:37 AM

hi BOP


keyword I added was 'shockwave'

when I enable your mod, all AME3 vids are not displayed but this code is..

Code:

shockwave-flash" width="640" height="385" data="http://www.youtube.com/v/60KaVERzEys&fs=1">

notice the 'shockwave' at the start of the code?

thanks

BirdOPrey5 05-31-2011 11:33 AM

I see... my VB4 site I'm using the newer HTML5 YouTube code that doesn't use flash (shockwave) code at all. Would you consider upgrading to the HTML5 youtube embedding? It will let your mobile users be able to watch YouTube videos on devices that don't support flash (all apple and some android devices).

I have instructions on how to change to HTML5 here: https://vborg.vbsupport.ru/showthread.php?t=261336

I know there is a spot in AME3 to change the definitions too but I think the mod ignores that if vbulletin has a built in definition because I didn't change the built in flash in AME3 but my site is still using the HTML5 I set per the thread I linked to.

BirdOPrey5 05-31-2011 01:24 PM

Updated to 0.96

Should fix AME3 conflicts regardless of using HTML5 or Flash embed code.

AURFSCAN 05-31-2011 11:00 PM

Thankyou for taking a look and updating BOP... good work

Works fine with AME3 now. 5 stars and nominated motm

Randomm 06-02-2011 05:23 PM

This is awesome!

Igel1 06-02-2011 07:25 PM

1 Attachment(s)
Thanks, here are the German language file

BirdOPrey5 06-02-2011 10:35 PM

Quote:

Originally Posted by Randomm (Post 2202761)
This is awesome!

Thanks!

Quote:

Originally Posted by Igel1 (Post 2202810)
Thanks, here are the German language file

Danke! Added it to the top post.

Bacon Butty 06-03-2011 07:39 PM

Absolutely incredible mod.

Marked as installed, rated and of course, voted as mod of the month.

Thank you.

Kolbi 06-04-2011 03:16 PM

Voted :)

Bozza 06-05-2011 05:39 PM

Brilliant stuff - many thanks!

BirdOPrey5 06-05-2011 08:04 PM

Updated to version 1.0 - Stable Release!

Thank you all for your help beta testing this mod the last few weeks. I am now confident it is stable and ready for official release. I have just uploaded a new version 1.0.

There are no new features over the last Beta but I have added additional code to prevent unintended linking. (Links that are part of HTML elements and not actual words.)

Although I'm sure we will get the occasional report of a word not being compatible I think for the most part as is it should work for most people most of the time.

If you encounter an unintended link you can remove the keyword and let me know here until I can find a fix.

Enjoy. :)

Randomm 06-07-2011 02:52 AM

yeah my only problem with this is that let's say I link the word Play (a game store online) with Play.com

Whenever a word contains the char 'play', it links it making the whole word awkward...get what I'm saying?
Is there a way to fix this?

Of course
rated, nom, tagged, and installed

BirdOPrey5 06-07-2011 09:02 AM

Quote:

Originally Posted by Randomm (Post 2204481)
yeah my only problem with this is that let's say I link the word Play (a game store online) with Play.com

Whenever a word contains the char 'play', it links it making the whole word awkward...get what I'm saying?
Is there a way to fix this?

Of course
rated, nom, tagged, and installed

There's several options:

Make "Play.com" it's own keyword, put it above the "Play" keyword in settings and it will link the entire word.

Set "Match Whole Words Only" to YES. (But in the particular case of Play.com it probably still will only match "Play" because the period (.) is considered an end-of-word character. Not a bug in the program but just the way php works.

Use custom CSS to make the links look less different than standard text until someone actually mouseover's the link.

eh69 06-10-2011 10:46 AM

Look at home page vbulletin.org - https://vborg.vbsupport.ru/portal.php and vote for this mod :)

Im proud that my idea is in MOTM :) And thanks again BirdOPrey5 for made this mod :)

BirdOPrey5 06-10-2011 12:39 PM

Quote:

Originally Posted by eh69 (Post 2205787)
Look at home page vbulletin.org - https://vborg.vbsupport.ru/portal.php and vote for this mod :)

Im proud that my idea is in MOTM :) And thanks again BirdOPrey5 for made this mod :)

Thanks eh69, I always figured there was a working mod to do this already- I didn't realize the old one wasn't working out for people.

COL NIL SATIS 06-10-2011 06:02 PM

this is awesome!!!!!

CThiessen 06-12-2011 03:25 PM

Ni,
very god Mod - nominated.
A better alternative for Skimlinks. :p

I have 2 suggestions:
1. If you have a lot of Links it might be difficult to change one, you have to count the Lines in two boxes.

2. It bis good for internal linking an external (Ads) linking. But if possible i like to set this 2 Groups different.
Internal: follow and same Tab/Window
External: nofollow an new Tab window.

It might be good to have 4 Boxes (2 for internal Liks and 2 for external Links)

Or have one 1 Box with Parameters:
ex:

Word|Link|0|1 Parameter: 0=follow, 1=nofollow and 0= same Window, 1=new Window ore something like this.


Best regards
Christian

BirdOPrey5 06-12-2011 03:37 PM

Those are good ideas Christian, the single box idea has been mentioned before. I'm trying to find a way to make entering it easier.

In the mean time I am updating this mod to version 1.1 which allows for an approximate maximum links per page.

Updated to version 1.1.

You can now set *an approximate* number of total max links per page.

It is approximate because the mod will make links until it reaches the end of the post, VM, or social group message where it meets the page max number of links.


All times are GMT. The time now is 12:58 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.01561 seconds
  • Memory Usage 1,836KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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