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


All times are GMT. The time now is 07:59 AM.

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.01222 seconds
  • Memory Usage 1,734KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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