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 - External Link Titles, retrieve descriptive titles for URLs (https://vborg.vbsupport.ru/showthread.php?t=146679)

WarLion 08-25-2007 04:15 AM

damm dont work for me cool idea i guess mi curl is off

harmor19 08-25-2007 09:08 AM

I experimented with the blacklist and used ".*.xenweb.net:2082" to try and prevent users posting their link to cPanel only to have it converted to "cPanel® 11" (I own a hosting site). To my surprise it worked.

Thanks for the hack.

magnus 08-25-2007 02:40 PM

Quote:

Originally Posted by WarLion (Post 1325198)
damm dont work for me cool idea i guess mi curl is off

You would receive an error if cURL wasn't installed. Did you verify the mod was enabled, as it's disabled by default in the AdminCP.

maxicep 09-07-2007 10:28 PM

I have safe mode status "on".

So i getting error while i posting a new topic or reply.

Quote:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /includes/functions_newpost.php(360) : eval()'d code on line 56
How can fix it ?

Pls dont tell me about make safe mod : off

Can u fix this problem ?

*Now, i disabled the plugin.

magnus 09-08-2007 01:30 PM

Quote:

Originally Posted by maxicep (Post 1334533)
I have safe mode status "on".

So i getting error while i posting a new topic or reply.

How can fix it ?

Pls dont tell me about make safe mod : off

Can u fix this problem ?

*Now, i disabled the plugin.

The only way around this other than disabling safe_mode is to edit both the "Retreive link titles when editing a post" and "Retreive link titles when posting a new post" hooks via the Plugin Manager and remove (or comment out) the line:

PHP Code:

curl_setopt($chCURLOPT_FOLLOWLOCATIONtrue); 


maxicep 09-08-2007 10:08 PM

I edited the ur plugin and

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

to

// curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

So it is disabled ? Anything maybe wrong ? But Now working fine ..

magnus 09-09-2007 01:54 PM

Quote:

Originally Posted by maxicep (Post 1335057)
I edited the ur plugin and

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

to

// curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);

So it is disabled ? Anything maybe wrong ? But Now working fine ..


Nope, that's what I said in the previous post. The only catch is that you won't get titles from pages that have redirects, you'll get the occasional title as "301 Moved Permanently". But most pages will work fine.

maxicep 09-09-2007 01:58 PM

And how can i enable that function ? do u know ?

can i enable the curl_setopt function in my server side ?

*P.S: server is mine. So i can configure it too if u know what should i edit on server side about safe mode configuration.

Thx for help

magnus 09-10-2007 11:11 AM

Quote:

Originally Posted by maxicep (Post 1335450)
And how can i enable that function ? do u know ?

can i enable the curl_setopt function in my server side ?

*P.S: server is mine. So i can configure it too if u know what should i edit on server side about safe mode configuration.

Thx for help

In your global php.ini file, find the line that says:
Code:

safe_mode = On
and change it to:
Code:

safe_mode = Off
* Note: To find the location of your php.ini file, in your vBulletin AdminCP click on Maintenance -> View PHP info and look for the line Loaded Configuration File.

Once you make the change, you'll need to restart your web server. Assuming it's apache, it can be done by issuing the command "apachectl restart" (as root) from the command line.

maxicep 09-10-2007 12:25 PM

No no,

i know what u said, i know how disable the safe mode but i asked u how can i allow curl_setopt function while safe mode running. So can i configure safe mode settings like curl_setopt : on ?


All times are GMT. The time now is 05:00 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.01308 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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