vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Major Additions - Mary's Classifieds (https://vborg.vbsupport.ru/showthread.php?t=267194)

kfyonur 11-13-2011 12:17 PM

is red section right in the htaccess file ?i am using english language but i couldn't open seo links.

when i want to click http://www.audiclubtr.com/For-Sale/7...l-Audi-A6.html

i redirected to this page http://www.audiclubtr.com/forum.php

Code:

Options +FollowSymlinks
RewriteEngine On

# RewriteBase /

#RewriteCond %{HTTP_HOST} ^www\.audiclubtr\.com\
#RewriteRule (.*) http://www.audiclubtr.com$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]


# RewriteCond %{HTTP_HOST} ^www\.audiclubtr\.com\
# RewriteRule (.*) http://www.audiclubtr.com/forum.php$1 [L,R=301]


## Expires
#<ifModule mod_expires.c>
#        ExpiresActive On
#        ExpiresDefault "access plus 1 seconds"
#        ExpiresByType text/html "access plus 1 seconds"
#        ExpiresByType image/gif "access plus 3456000 seconds"
#        ExpiresByType image/jpeg "access plus 3456000 seconds"
#        ExpiresByType image/png "access plus 3456000 seconds"
#        ExpiresByType text/css "access plus 3456000 seconds"
#        ExpiresByType text/javascript "access plus 3456000 seconds"
#        ExpiresByType application/javascript "access plus 3456000 seconds"
#        ExpiresByType application/x-javascript "access plus 3456000 seconds"
#</ifModule>

## Compression
#<ifmodule mod_headers.c>
#        <ifmodule mod_deflate.c>
#                AddOutputFilterByType DEFLATE text/html text/css text/xml application/x-javascript
#                BrowserMatch ^Mozilla/4 gzip-only-text/html
#                BrowserMatch ^Mozilla/4\.0[678] no-gzip
#                BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
#        </ifmodule>
#</ifmodule>

## Rewrites
#<ifmodule mod_rewrite.c>
#        RewriteEngine on
#
#      RewriteRule ^Classifieds/([^/]*)/ ./classifieds.php?do=main&catid=$1 [L,NC]
#      RewriteRule ^For-Sale/([^/]*)/ ./classifieds.php?do=viewitem&itemid=$1 [L,NC]
#      RewriteRule ^Wanted/([^/]*)/ ./classifieds.php?do=viewitem&itemid=$1 [L,NC]
#      RewriteRule ^Auction/([^/]*)/ ./classifieds.php?do=viewitem&itemid=$1 [L,NC]
#      RewriteRule ^Seller/([^/]*)/ ./classifieds.php?do=browseuser&userid=$1 [L,NC]
#      RewriteRule ^Archives/([^/]*)/ ./classifieds.php?do=viewarchived&itemid=$1 [L,NC]

#        RewriteCond %{REQUEST_FILENAME} -s [OR]
#        RewriteCond %{REQUEST_FILENAME} -l [OR]
#        RewriteCond %{REQUEST_FILENAME} -d
#        RewriteRule ^.*$ - [NC,L]

#        # Forum
#        RewriteRule ^threads/.* showthread.php [QSA]
#        RewriteRule ^forums/.* forumdisplay.php [QSA]
#        RewriteRule ^members/.* member.php [QSA]
#        RewriteRule ^blogs/.* blog.php [QSA]
#        ReWriteRule ^entries/.* entry.php [QSA]
#        RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] 

#        RewriteCond %{REQUEST_FILENAME} -s [OR]
#        RewriteCond %{REQUEST_FILENAME} -l [OR]
#        RewriteCond %{REQUEST_FILENAME} -d
#        RewriteRule ^.*$ - [NC,L]
#
#        # MVC
#        RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
#</ifmodule>


Christos Teriakis 11-13-2011 04:46 PM

Quote:

Originally Posted by bosken (Post 2267494)
Ok, sounds perfect. I tried to locate the code in the custom php but very hard for me :(

Else I have to re-make the ads again and enable stock control...

Hello,

Open with a text editor (like Notepad) the file classifieds.php.
Search for:
Code:

    // Check if we need to autopost new ad
    if($item["usestock"] == 1)
    {
      // Does the seller has in stock more products
      if($item["stock"] > 1)
      {
          // Yes, so post a new one
          $repost_sold_item = getRepostSoldItem($itemid);
      }
    }

Replace with:
Code:

    // Check if we need to autopost new ad
    // Yes, so post a new one
  $repost_sold_item = getRepostSoldItem($itemid);

Save and upload. I'm attaching the latest file, but this is something that you need to do in every update. At this time you need to rename the file classifieds_bosken.php to classifieds.php and its ready to work.

Chris

System69 11-13-2011 05:01 PM

Quote:

Originally Posted by ChrisTERiS (Post 2267204)
Please post your installation link with permissions to guests to access the classifieds page.

Chris

http://www.fanatics.de/classifieds.php

Permissions are set ;)

Christos Teriakis 11-13-2011 05:17 PM

Quote:

Originally Posted by System69 (Post 2267603)

From a first look it appears strange that you've 3 times:
Code:

<script src="http://www.fanatics.de/jqt_suite/jquery.tools.min-all.js" type="text/javascript"></script>
As a first try, remove at least 2 of them.

Chris

cherylferraro 11-13-2011 07:01 PM

Thanks for sharing this mod ChrisTERiS.

I installed it and had a couple of weird problems that were related to file ownership and permissions. Once I got those straightened out it seems to work very well.

Nice work.

System69 11-13-2011 07:46 PM

Quote:

Originally Posted by ChrisTERiS (Post 2267607)
From a first look it appears strange that you've 3 times:
Code:

<script src="http://www.fanatics.de/jqt_suite/jquery.tools.min-all.js" type="text/javascript"></script>
As a first try, remove at least 2 of them.

Chris

I know about that. Should be ok now...
Nothing happend :(

maineGuy72 11-14-2011 12:59 AM

Quote:

Originally Posted by System69 (Post 2267603)

you need to look at the coding for the images on the page. the end tags are not there which may be causing a huge issue. you start a span tag before the img tag is closed on a couple images. below is an example of the coding on the page

Code:

<img src='http://www.cemetery.de/e46fanatics/bmw_0001.jpg' width='640px' height='480px' alt='' rel='<span id='title'></span>

maineGuy72 11-14-2011 01:14 AM

Quote:

Originally Posted by System69 (Post 2267603)

also check the categories in the microclassifieds option in the admincp
if you have access to the database i would also look in the microclassifieds_categories table for extra entries

kfyonur 11-15-2011 09:34 AM

When i save display order of searchable fields,i see this error.

Fatal error: Call to undefined function savesearchfieldsdisplayorder() in /vhosts/audiclubtr.com/http/admincp/microclassifieds_admin.php on line 798

Christos Teriakis 11-15-2011 10:27 AM

Hello,

I want to inform you that I've droped any plans to continue upgrading this Mod. The reason is that since the first moment that I got over the rights of this Mod from Mary, I didn't agreed with her approach to mix all types of Classifieds in one application. This mix, except that it increases the code, makes it difficult for upgrades. That's the main reason that all standalone PHP scripts have different versions for Auction and for normal Classifieds.

So I decided to split the mod in 2 seperate ones (For sale Classifieds and Auction Classifieds), plus to release a 3nd one (Job seeking Classifieds).

I'll continue supporting this version, but just for bug fixes.

Chris


All times are GMT. The time now is 12:44 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.02605 seconds
  • Memory Usage 1,765KB
  • 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
  • (6)bbcode_code_printable
  • (6)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