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)
-   -   Major Additions - [DBTech] DragonByte SEO v2 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=308615)

tuRiver 05-30-2016 10:13 PM

Quote:

Originally Posted by DragonByte Tech (Post 2571462)
Can you show me what's on line 82 just so I'm sure I have the right area?

Sorry, what do you mean sharing purposes?


Fillip

Using for example

<a id="buttton" href="http://www.facebook.com/sharer.php?s=100&amp;p[title]=<?php echo $title;?>&amp;p[summary]=<?php echo $summary;?>&amp;p[url]=<?php echo urlencode($url);?>&amp;p[images][0]=http://www.example.com/images/report/daily_report/KNDR/image(2).jpg" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=no,scrollbars=no, height=400,width=600'); return false;">
<img src="<?php echo base_url()?>media/images/share.png" alt=""/>

dariyos 05-31-2016 04:43 AM

Quote:

Originally Posted by DragonByte Tech (Post 2571462)
Can you show me what's on line 82 just so I'm sure I have the right area?

This is on line 82 (init_startup.php):

Code:

if (file_exists($_SERVER['DOCUMENT_ROOT'] . $fileinfo['dirname']))

how to fix the "bigger" issue with the "="-Signs (equal sign) at the end of the links...
http://www.sps-forum.de/showthread.p...mit-VB-Script=


it should rewrite to: http://www.sps-forum.de/showthread.p...-mit-VB-Script

EDIT
after updating to v.2.0.33 the error is gone.

and now, when I set the canonical URL option to always forward, it rewrite it to the right URL:

vBulletin Settings -> Friendly Urls -> Enforce Canonical URL -> strict (always forward)

but in the readme textfile I read it should be on OFF...

Is it ok, when I put it on "always forward"?


EDIT 2:

The issue with the equal sign at the end of the URLs is still there... :(

skyg 05-31-2016 08:41 AM

I have a test web, I want to use SEO, encounter problems, you can request remote assistance?
TeamViewer 11

dariyos 06-02-2016 05:17 AM

Hello,

after updating dbseo I got an error with the tags without .html at the end:

link: http://www.sps-forum.de/tags/absolutfahrt/

Code:

Warning: file_exists(): open_basedir restriction in effect. File(tags.php/absolutfahrt/) is not within the allowed path(s): (/www/htdocs/w00665de/:/tmp:/usr/bin:/www/htdocs/w00665de:/bin:/usr/local/bin:/usr/share/php:/dev/urandom) in /www/htdocs/w00665de/SPS-Forum/dbseo.php on line 318

Warning: file_exists(): open_basedir restriction in effect. File(tags.php/absolutfahrt) is not within the allowed path(s): (/www/htdocs/w00665de/:/tmp:/usr/bin:/www/htdocs/w00665de:/bin:/usr/local/bin:/usr/share/php:/dev/urandom) in /www/htdocs/w00665de/SPS-Forum/dbseo.php on line 370

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00665de/SPS-Forum/dbseo.php:318) in /www/htdocs/w00665de/SPS-Forum/dbtech/dbseo/includes/class_core.php on line 1927


my settings:


Rewrite "Tag" URLs: YES

Tag List URLs: tags/

Tag (Single) URLs: tags/[tag].html


Tag (Single) Paged URLs: tags/[tag]/index[page].html

other tags with the ending .html works well - see here:

http://www.sps-forum.de/tags/tia.html

When I change the setting: Tag (Single) URLs to: tags/[tag]/


then the URL http://www.sps-forum.de/tags/absolutfahrt/ work.

and the URL with .html at the end will not work - same error here:

Code:


Warning: file_exists(): open_basedir restriction in effect. File(tags.php/tia.html) is not within the allowed path(s): (/www/htdocs/w00665de/:/tmp:/usr/bin:/www/htdocs/w00665de:/bin:/usr/local/bin:/usr/share/php:/dev/urandom) in /www/htdocs/w00665de/SPS-Forum/dbseo.php on line 318

Warning: file_exists(): open_basedir restriction in effect. File(tags.php/tia.html) is not within the allowed path(s): (/www/htdocs/w00665de/:/tmp:/usr/bin:/www/htdocs/w00665de:/bin:/usr/local/bin:/usr/share/php:/dev/urandom) in /www/htdocs/w00665de/SPS-Forum/dbseo.php on line 370

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00665de/SPS-Forum/dbseo.php:318) in /www/htdocs/w00665de/SPS-Forum/dbtech/dbseo/includes/class_core.php on line 1927

It should work with both versions - with .html and without .html at the end!

final kaoss 06-02-2016 02:26 PM

I think in this case you'll have to go with one or the other.

DragonByte Tech 06-02-2016 03:26 PM

In the next version I'll update the file_exists checks to preface them with @ - you can edit the files mentioned in the errors yourself and patch it in :)


Fillip

tuRiver 06-02-2016 05:40 PM

Any news about my request? To get the URL on template like i did with vbseo?

DragonByte Tech 06-03-2016 11:30 AM

Quote:

Originally Posted by tuRiver (Post 2571552)
Any news about my request? To get the URL on template like i did with vbseo?

You could try
Code:

$_SERVER['DBSEO_URI']
But I'm not sure if that variable existed in v2.0.9.


Fillip

izenberg 06-04-2016 05:40 PM

Hi Fillip,

Thanks for this great plugin. But I have one little problem.
For security measure I changed my Vb "Config" name plus its destination. so when I tried to install this plugin I got "access denied" Database error So I was wondering is there a way to make dbseo to connect to main Config file instead of fake one which give me access denied error?

thanks in advanced.

DragonByte Tech 06-05-2016 03:39 PM

Quote:

Originally Posted by izenberg (Post 2571649)
Thanks for this great plugin. But I have one little problem.
For security measure I changed my Vb "Config" name plus its destination. so when I tried to install this plugin I got "access denied" Database error So I was wondering is there a way to make dbseo to connect to main Config file instead of fake one which give me access denied error?

That doesn't actually do anything to improve security, as anyone who could read the contents of your config.php file could also read the contents of your init.php file which refers to the config file :)

Regardless, you can edit DBSEO's config.php reference in /dbtech/dbseo/includes/class_core.php.


Fillip


All times are GMT. The time now is 10:30 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.02460 seconds
  • Memory Usage 1,752KB
  • 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_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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