vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Replace URL's With Page Title (https://vborg.vbsupport.ru/showthread.php?t=155909)

Jafo232 08-23-2007 02:52 PM

Quote:

Originally Posted by semauae (Post 1323935)
I tried it

when I write thread link it will display the Forum name

I want to display the thread name

can I ?

Quote:

Originally Posted by home9000 (Post 1323831)
It's working in 3.6.5

but it' give me the name of the forum also in the title . Is it possible to remove it

This is the title to your page. You need to remove it from your Vbulletin admin cp. It will display whatever is between the <title></title> tags.

Jafo232 08-23-2007 04:56 PM

Quote:

Originally Posted by Handbag (Post 1323941)
I was just coming on to say that version 1.0 buggered up my polls (ie. users were shown a blank page when trying to post a poll) but v1.1 fixes this, so thanks! :)

Yeah, I had a brain cramp in not realizing the function where the hook is might be called multiple times per instance. Since this was not a code edit, I forgot that the hook could be eval'd more than once.

That should all be fixed now.

Andreas 08-24-2007 04:22 AM

Keeping allow_url_fopen off in mind, using fopen() might not be the best choice ...

If you don't want to use cUrl for one or another reason, what about fsockopen()?
Also, I'd prefer not to waste resources for local URLS (eg. showthread, etc.)
Would be nice if those were detected automatically and the titles retrieved directly rather than forking a new vBulletin instance just to get the title :)

Brandon Sheley 08-24-2007 06:12 AM

nice, I didn't know there was a hack for this at the Org :D

Thanks for sharing, I'll install for a client later I'm sure.

MB-Soft 08-24-2007 12:04 PM

Thanks for the great Hack.

Clicked Installed :)

Jafo232 08-25-2007 03:27 AM

Your welcome. :)

Jafo232 08-27-2007 02:52 AM

Quote:

Originally Posted by Andreas (Post 1324553)
Keeping allow_ur?l_fopen off in mind, using fopen() might not be the best choice ...

If you don't want to use cUrl for one or another reason, what about fsockopen()?
Also, I'd prefer not to waste resources for local URLS (eg. showthread, etc.)
Would be nice if those were detected automaticvally and the titles retrived directly rather than forking a new vBulletin instance just to get the title :)

That might not be a bad idea. I could definitely craft it with fsockopen. So far, nobody has reported any issue with fopen as of yet. If it becomes one, I will take your advice.

As for the local links. I see your point. If I get some time next week, I might poke around with that.

Jafo232 09-05-2007 04:58 AM

I would like to thank all of you who have donated to me so far. It is appreciated!

Jafo232 09-10-2007 02:54 PM

It should also be noted, that changing safe mode should not be required as with a similar hack. Many hosts require safe mode.

vuiveclub 09-10-2007 06:53 PM

nice hack, installed :) thank you

schniggl 09-11-2007 11:02 AM

nice hack!
My forum ist devided in two parts: One can be seen by registered and unregistered and the other one can only be seen by registered users.
A link to a thread in the area that can only be seen by registered is not replaced correctly. It seems, that the server calls the thread as "unregistered" to find the title tag. How can I tell him, that he should look for the title as a registered user?

Hope you understand my problem!
Greetings from Germany!

Jafo232 09-11-2007 12:57 PM

The problem is that the page is not open to the public. It will only show the page title of that page. If it was to grab the page title of pages that you must be registered to view, then it would take away from security of making the thread hidden to unregistered users.

KURTZ 09-11-2007 11:13 PM

really nice hack ;)

Jafo232 09-12-2007 04:20 AM

Quote:

Originally Posted by KURTZ (Post 1337297)
really nice hack ;)

Thanks!

schniggl 09-12-2007 08:20 AM

Quote:

Originally Posted by Jafo232 (Post 1336980)
The problem is that the page is not open to the public. It will only show the page title of that page. If it was to grab the page title of pages that you must be registered to view, then it would take away from security of making the thread hidden to unregistered users.

yes I understand the problem. But the unregistered users see the threadtitle anyway. They can see the forum, the threads, but they cannot read the threads.

Jafo232 09-12-2007 02:13 PM

Quote:

Originally Posted by schniggl (Post 1337509)
yes I understand the problem. But the unregistered users see the threadtitle anyway. They can see the forum, the threads, but they cannot read the threads.

Perhaps I do not understand the nature of the issue. Could you PM me links illustrating what you are talking about?

Jafo232 09-13-2007 01:13 AM

Quote:

Originally Posted by schniggl (Post 1337509)
yes I understand the problem. But the unregistered users see the threadtitle anyway. They can see the forum, the threads, but they cannot read the threads.

The mod needs to be able to see the page title tag, if it cannot, then it will not display the page title.

XFSImperial 09-14-2007 05:42 PM

I saw this modification on another forum. I'm glad I was able to find it. Installed :D

Jafo232 09-15-2007 03:59 PM

Quote:

Originally Posted by XFSImperial (Post 1339041)
I saw this modification on another forum. I'm glad I was able to find it. Installed :D

Glad it worked out! :)

Jafo232 09-17-2007 02:50 AM

Quote:

Originally Posted by vuiveclub (Post 1336421)
nice hack, installed :) thank you

Your very welcome. :)

yoyoyoyo 09-17-2007 03:27 AM

excellent - thanks!

Jafo232 09-17-2007 03:19 PM

Quote:

Originally Posted by yoyoyoyo (Post 1340598)
excellent - thanks!

You welcome, and don't forget to vote. :)

Jafo232 09-24-2007 03:51 PM

I should remind everyone seeing as how there twice as many downloads as there are installs:



Jafo232 10-04-2007 03:08 PM

If anyone notices any issues with foreign characters let me know. I think I compensated for it, but please tell me if a problem arises.

falconKing 10-07-2007 06:12 AM

Quote:

Originally Posted by Jafo232 (Post 1324039)
This is the title to your page. You need to remove it from your Vbulletin admin cp. It will display whatever is between the <title></title> tags.

Please help me, I removed the title from my vB Admin cP, but still it will only display the Forum name instead of displaying theThread name :( .

(please note the I have vBSEO installed, and don't know if it's affecting it!)

Thanx in advance :) .

Jafo232 10-08-2007 02:16 PM

Does the thread require the user to be logged in to see it?

falconKing 10-08-2007 05:22 PM

Quote:

Originally Posted by Jafo232 (Post 1355495)
Does the thread require the user to be logged in to see it?

Yes :o but even when I sign in it doesn't show !!!

jer2eydevil88 10-08-2007 05:30 PM

I installed the mod but it doesn't seem to change anything when I post a url... maybe I misunderstand the purpose of this mod?

Does it take a string of text in the shape of a url like http://www.apple.com/macosx/leopard/ and change it to the title of that page? (i.e. Apple - Mac OS X Leopard)

Jafo232 10-08-2007 05:33 PM

Yes, that is what it does..

Canis Firebrand 10-08-2007 05:46 PM

Nice idea, but I had to uninstall it after I downloaded and installed because I can't use fopen. I hadn't gotten to the post about fopen before I downloaded and installed it. Otherwise, I wouldn't have tried it. Just wanted to explain one download without a marked install.

I had to go with the other plugin because it used cURL and that is what my host, Dreamhost, allows.

Jafo232 10-08-2007 06:19 PM

OK, Just note the security issues I brought up with that plugin.

Canis Firebrand 10-08-2007 06:26 PM

Thanks for the link to your post above.

If yours was able to use fopen or cURL so that both avenues worked, I'd give yours the install. But as it stands with my host, plugins that only use fopen will not work for me.

I'll keep an eye on this incase you do decide to add in cURL support in addition to fopen.

Jafo232 10-08-2007 08:42 PM

The problem with cURL is you cannot tell the script to get X bytes of data and then stop, which you can with fopen. So basically if someone types in a URL to say a 7gb file, your server will attempt to download that entire file before parsing it to get the title tag. Most likely, your server will timeout after 30 seconds (if that is the setting in php.ini) or if it goes above the memory limit.

This could adversely affect your servers performance, and may also greatly increase your bandwidth usage. You should be VERY wary if that plugin works with shoutbox. Someone could easily do a denial of service attack on you relatively quick.

CP, 10-17-2007 05:07 PM

Somebody correct me if im wrong..

but this hack should be good for seo'ing right? as it rewrites the urls?

djbaxter 10-17-2007 05:38 PM

Quote:

Originally Posted by CP, (Post 1362469)
Somebody correct me if im wrong..

but this hack should be good for seo'ing right? as it rewrites the urls?

No, it doesn't rewrite the URLs. What it does is add anchor text to the URL.

This might help with SEO for your forum if the link points to one of your threads. Otherwise, the page at the end of the link may benefit. In both cases, I say "might" and "may" because it depends on the title of the page or thread to which the link is pointing - for many forums, the thread title is often pretty much useless for SEO (e.g., "Hi... I'm new here" isn't likely to rocket that thread to the top of the search engine rankings for anything useful to the forum owner, which is one - but only one - of the problems with trying to use mod_rewrite strategies with vBulletin).

:)

CP, 10-17-2007 05:45 PM

Quote:

Originally Posted by djbaxter (Post 1362504)
No, it doesn't rewrite the URLs. What it does is add anchor text to the URL.

This might help with SEO for your forum if the link points to one of your threads. Otherwise, the page at the end of the link may benefit. :)

eitherway it benefits! So by anchoring it bots will identify the "text" first and will index it into search engines with the link, right? So when people search for "Basket Nitting" and that was anchored on the forum linking to your own forum then its a good thing..?

djbaxter 10-17-2007 06:02 PM

Quote:

Originally Posted by CP, (Post 1362509)
eitherway it benefits! So by anchoring it bots will identify the "text" first and will index it into search engines with the link, right? So when people search for "Basket Nitting" and that was anchored on the forum linking to your own forum then its a good thing..?

Not necessarily. I was editing my post above as you were replying:

Quote:

Originally Posted by djbaxter
This might help with SEO for your forum if the link points to one of your threads. Otherwise, the page at the end of the link may benefit. In both cases, I say "might" and "may" because it depends on the title of the page or thread to which the link is pointing - for many forums, the thread title is often pretty much useless for SEO (e.g., "Hi... I'm new here" isn't likely to rocket that thread to the top of the search engine rankings for anything useful to the forum owner, which is one - but only one - of the problems with trying to use mod_rewrite strategies with vBulletin).

In those cases, it's not going to help you much if at all. How many people are going to search for ""Hi... I'm new here" or "I have a problem" or "it doesn't work"?

Dave Hawley 10-17-2007 11:24 PM

I highly doubt Google even credits links/anchor text in forum posts. You have to understand that Google passes PageRank and credit for "votes". Forum links could easily be posted by the site owner in the 1000's. Google and it's army of the Worlds best geeks are not that silly.

Even it does, most forum threads have no, or very little PR.

If you use this hack expecting some boost of some sort, you will be dissapointed. If you use this hack for your users, you wont be.

djbaxter 10-17-2007 11:35 PM

Quote:

Originally Posted by Dave Hawley (Post 1362730)
I highly doubt Google even credits links/anchor text in forum posts.

They do show up in Google Alerts. That would seem to indicate that Google does recognize them as incoming links.

Quote:

Originally Posted by Dave Hawley (Post 1362730)
Even it does, most forum threads have no, or very little PR.

If a thread is indexed, and has at leasr one icnoming link, it should follow that it has some PR, no matter how small. One link in a thread wouldn't be worht much. A lot of similar links could have some impact.

Quote:

Originally Posted by Dave Hawley (Post 1362730)
If you use this hack expecting some boost of some sort, you will be dissapointed. If you use this hack for your users, you wont be.

Always true. :)

Jafo232 10-18-2007 04:48 AM

To weigh in here, I wouldn't think it would affect SEO that much, other than it may put keywords into the threads/posts that were not there before..


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
  • Page Generation 0.01582 seconds
  • Memory Usage 1,830KB
  • 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
  • (20)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