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)

maineGuy72 11-12-2011 08:15 PM

i got it figured out. i had to delete all the styles and reinstall them all

maineGuy72 11-12-2011 08:46 PM

now i am having an issue with the approving of ads. i select the ad i want and click approve selected but it doesnt do anything just keeps saying "loading" also why cant the moderate see the ad before posting? i get redirected to the main page when i click on it in the approval screen

bigtree 11-13-2011 01:18 AM

Wow, what a sweet update from the last time I upgraded . very nice.

Chris, is it possible to create a Product Review Mod for this? Everything is in place. Instead of selling something, we have an added option to create a product review with its own category. Members could comment on the product and if they wanted to buy it, we could point them the a dealer or someone that is selling it used in our classifieds. Follow?

bigtree 11-13-2011 01:43 AM

Quote:

Originally Posted by maineGuy72 (Post 2267374)
now i am having an issue with the approving of ads. i select the ad i want and click approve selected but it doesnt do anything just keeps saying "loading" also why cant the moderate see the ad before posting? i get redirected to the main page when i click on it in the approval screen

You may have SEO urls selected in the general setting. Turn that off.

kfyonur 11-13-2011 05:38 AM

Can you put this code to htaccess pls ? i tried,it seem like this (http://www.audiclubtr.com/For-Sale/2...KET-520.D.html) but when i click the link,it turns to home page.Can you modify it ?


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
#
#        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>



Code:

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]


Christos Teriakis 11-13-2011 08:22 AM

Quote:

Originally Posted by kfyonur (Post 2267466)
Can you put this code to htaccess pls ?

What's the first part? vbSeo rules? Sorry but I'm not familiar with their syntax and I don't plan to support a commercial 3nd party addon, especially it. I've asked them to give me a testing or free license, to use in my demo site (which does not has registrer members), so I'll be able to write and test rules for their product to work with my mods, and they refused it, asking me to buy a 2nd license. So I had to void my license from my active site to transfer it to my demo site. For me, this is redicolous. If someone has to get benefits, for sure it's not me as the mod is Free.

Please note that I do NOT permit anybody to release vbSEO rules for free in this site, for this Mod.

Chris

bosken 11-13-2011 08:32 AM

Chris! Remember you fixed an issue I had that the ads disapeared after somebody bought them? You fixed me an updated file, worked great, but after the 6.6.X upgrade the ads are all gone again?

I dont use stock control, maybe I should, but it does not help to enable it now.

Christos Teriakis 11-13-2011 08:37 AM

Quote:

Originally Posted by kfyonur (Post 2267466)
Code:

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]


If you've translated the words "Classifieds, For-Sale,Wanted,Auction,Seller,Archives", then you must change the words in htaccess file, adding a - anywhere there is a space. eg "For Sale" must be "For-Sale".

Chris

Christos Teriakis 11-13-2011 09:38 AM

Quote:

Originally Posted by bosken (Post 2267488)
Chris! Remember you fixed an issue I had that the ads disapeared after somebody bought them? You fixed me an updated file, worked great, but after the 6.6.X upgrade the ads are all gone again?

I dont use stock control, maybe I should, but it does not help to enable it now.

That change was just for you. I can't add such code to the public release as the normal is the Ad to disappear after sale (except if seller is using the stock feature). In any case I'll find this change and I'll post the code here, so everytime you must make this change.

Chris

bosken 11-13-2011 09:53 AM

Quote:

Originally Posted by ChrisTERiS (Post 2267492)
That change was just for you. I can't add such code to the public release as the normal is the Ad to disappear after sale (except if seller is using the stock feature). In any case I'll find this change and I'll post the code here, so everytime you must make this change.

Chris

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...


All times are GMT. The time now is 08:56 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.03000 seconds
  • Memory Usage 1,758KB
  • 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
  • (3)bbcode_code_printable
  • (5)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