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)
-   -   Major Additions - Zoints SEO (https://vborg.vbsupport.ru/showthread.php?t=127336)

Hoffi 10-06-2006 06:41 AM

Search for
Code:

<a href="showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
And replace by
Code:

                <a href="<if condition="$show['zointsurl']">$forum[zointsurl_goto]<if condition="$show['member']">?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]</if><else />showthread.php?$session[sessionurl]p=$lastpostinfo[lastpostid]#post$lastpostinfo[lastpostid]</if>"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0" /></a>
I have an automated created File with all my Changes, but it's in German.

Did anyone has a working solution for GARS?

newmomsforum 10-06-2006 01:12 PM

Works great - Thanks :D

DJ PİSAGOR 10-07-2006 11:47 AM

does it work 3.6.2 ?

HaYLaZ 10-07-2006 11:54 AM

yes it works with 3.6.2

DJ PİSAGOR 10-07-2006 03:40 PM

I install in 3.6.2 but there a problem.
Instead of "www.forumena.com" it came out "www.forumena.com/?"
can you help me with fixing this.

I waiting for your help. Thank you

Orcun 10-07-2006 05:18 PM

Well well,

This Addon seems quite good looking. I've installed this on my site. It works fine except some cases.

1)
Code:

$string = str_replace("?", "Ue", $string);
$string = str_replace("?", "ue", $string);

This code doesnt re-write the Thread links. I Still have - for the Turkish characters.

2)

Archieve has problems I think.

Chech out HERE and click on a link. It will bring up the 404 Not found error. Couldnt figured out what had caused that.



I would be glad If I receive help
Thanks

DJ PİSAGOR 10-07-2006 05:32 PM

1-) Open the file /includes/function_zseo.php and search for this
PHP Code:

$string unhtmlspecialchars($string); 

add below:

PHP Code:

   $string str_replace("ı"'i'$string);
    
$string str_replace("ğ"'g'$string);
    
$string str_replace("?"'u'$string);
    
$string str_replace("ş"'s'$string);
    
$string str_replace("?"'o'$string);
    
$string str_replace("?"'c'$string);
    
$string str_replace("Ğ"'g'$string);
    
$string str_replace("?"'u'$string);     
    
$string str_replace("Ş"'s'$string);
    
$string str_replace("İ"'i'$string);
    
$string str_replace("?"'o'$string);
    
$string str_replace("?"'c'$string); 

2-) Diğer sorunun cevabını bilmiyorum :) Ayarlarına bi bak istersen.
i don' t know other problem

Orcun 10-07-2006 06:02 PM

Yep, I did it but doesn't work either. Saolasin kardes..

Still have - instead of turkish chars.

Btw, After enabling mod_rewrite, my sitemap returns to itself when I click a link..

Orcun 10-07-2006 06:10 PM

Yep!

Chars work now. Pisagor, pay attention to use of " and ' in the code.

Correct usage is

Code:


        $string = str_replace("ı", "i", $string);
            $string = str_replace("ğ", "g", $string);
            $string = str_replace("?", "u", $string);
            $string = str_replace("ş", "s", $string);
            $string = str_replace("?", "o", $string);
            $string = str_replace("?", "c", $string);
            $string = str_replace("Ğ", "g", $string);
            $string = str_replace("?", "u", $string);     
            $string = str_replace("Ş", "s", $string);
            $string = str_replace("İ", "i", $string);
            $string = str_replace("?", "o", $string);
            $string = str_replace("?", "c", $string);

Thank alot again.

Btw, Archieve is still not working :)

AMG021 10-07-2006 11:11 PM

this zoints thing is not working for me !!! i installed it and when i click on a post from the Forum Home and for some reason changes the path to my forum form community to comminity


All times are GMT. The time now is 01:56 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.01694 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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