![]() |
Any advice on why it's not working in my 3.6.8 forum? I installed and it's showing up in the admin CP, but none of the test posts I'm making are showing page titles, only the URL as usual. I've tried all sorts of URL's....
|
Who is your host? Is it dreamhost?
|
Quote:
|
Some hosts disable the fopen option to URL's, this sounds like the case with your host.
|
Ahhh, okay. Thanks for taking the time to let me know this. :)
|
i love it , good work :)
click Installed |
Really great hack if it would work for me :/ Ive imported the xml, but the urls are the same as before...
i've created a new thread with the text http://www.google.de/search?hl=de&q=test&meta=. If i understand the function of this plugin correctly, it must show me test - Google-Search and not http://www.google.de/search?hl=de&q=test&meta=. Right? If yes... Where is the problem?!? Safe mode? Mod Rewrite? |
Has your host disabled fopen()?
|
Yet another vBSEO feature for free, thanks!
/installed |
Probably a daft question - all my links to forums work perfectly with this mod, but links to threads instead of showing the original URL, or the thread title, just show the link as the forum title. I assume it has something to do with title tags - how would I change this to be the Thread title as opposed to the Forum title.
Does that make sense? Thankyou x |
Hmm, I assume you will have to edit a template or a VB setting to use the threads title for the page title.. I kinda thought they all did already, but maybe your template needs updating..
|
Thanks Jafo - been trying to work it out for ages and have got completely nowhere.
Heres how the links come up http://www.legalbeagles.info/forums/...ead.php?t=3539 On VB org they come up as https://vborg.vbsupport.ru/showthrea...=155909&page=7 On another site where it does work they come up as http://www.consumeractiongroup.co.uk...olicitors.html Thats what I want mine to do.... |
Ahhh think we ran out of VBSEO.... :(
Is that the only way to do it ? |
Not sure what is happening, because the site you link to isn't online..
|
Quote:
|
i tried everythin..still no luck for me :(
there is no way otherthan buying VBseo ? for Title_based_url.html ? |
thanks you!!!
|
Quote:
|
Go to the admin CP
Plugins & Products -> Plugin Manager Look for "Product : Title Replace" Edit the plugin labeled Title Replace Replace the contents of the Plugin PHP Code with the code below. The code below does NOT use cURL or fopen and does not run into the problem of either cURL not being installed or hosts that have URL opens with fopen disabled. fsocketopen will retrieve the first 8k of the HTML file to look for the <title></title> tags. if it does not find them, it will end the connection and return the pasted URL as is. I should warn you that i havent tested this code for basic PHP Errors. it would be wise to copy the existing plugin PHP Code to notepad for a backup before pasting the code below. -- See my post below with the change that uses fread() opposed to while(!feof(resource) ) |
This above code entry does NOT just open the first 8k.. Consider:
Code:
<?php |
while(!feof) , while NOT end of file. the correct methon would be to use fread(resource, bytes) , which reads the stream until bytes and then closes the stream.
I actually tested this one. HTML Code:
|
You are going to find that fsockopen can fall under the same security restrictions as fopen depending on the host.. Examples:
http://www.110mb.com/forum/external-...d-t3690.0.html http://www.thescripts.com/forum/thread2690.html http://www.webhostingtalk.com/archiv.../t-501791.html http://forum.unlimitedmb.com/showthread.php?t=799 http://www.google.com/search?hl=en&c...ed&btnG=Search So, yeah, I suppose your method COULD replace fopen, but the same reason why you would want to, could apply also to your solution. |
After installed look like old thread that contains link do not retrieve the title,this need to rebuild thread and post cache?
Work on new parsed link only. Please advise. |
Works on new threads only.
|
Thanks Jafo for your confirmation.great work!
|
Quote:
this hack only external URL :confused: |
*installed*
Thanx 4 the hack. But could you tell me please how can I make links will be parsing without any external info, such as Quote:
|
Quote:
|
So sorry... =(
*uninstalled* |
runs perfectly on 3.7.0B3 :D
|
It should.. Only really uses one hook, and I don't think it will change until around version 4.0.
|
Lovely mod, been looking for something like this for ages, but havent found something as perfect :D
It automatically converts URLs in the shoutbox as well. Was wondering if there was a way for it to convert the urls in cyb chatbox too as i've just installed that on my test forum, and the admins are leaning more towards cyb chatbox than vbshout :O Thanks :D |
It all depends on how the plugin works. If it isn't converting URL's already, then it probably won't work with it.
|
This work with vB 3.7 ??
Regards Jason :) |
I have no idea and will not know until 3.7 is officially released. Right now, those using it in production environments are being a bit reckless..
|
I installed this on my test forum, which is running 3.7 beta 3, and it works great.
I've not got 3.7 beta 4 on my main site (:O :S) and installed this on there and again works great :D |
Installed!! Nice mod!
|
Great, glad it worked out!
|
Works perfect, thanks!
|
Oh one question...is there a way to limit the number of characters that are displayed?
|
All times are GMT. The time now is 01:31 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|