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)

Christos Teriakis 08-26-2011 02:24 PM

Quote:

Originally Posted by Alp Ozdemir (Post 2238252)
I think "place bid" button is not working.

As for me, it works. Let's wait to see if someone else post something like this.

Quote:

Originally Posted by Alp Ozdemir (Post 2238252)
By the way, how can I disable Auction Ads, or remove the from the navbar menu

Sorry you can't. As for removing it from the navbar_menu, you need to edit the template:
microclassifieds_usercp_links and remove the line:
Code:

<li><a href="usercp_classifieds.php?{vb:raw session.sessionurl}do=addedititem&adtype=3">{vb:var vbphrase.microclassifieds_post_auction}</a></li>
Chris

Christos Teriakis 08-26-2011 02:28 PM

Quote:

Originally Posted by BWJ (Post 2238260)
If you have:
Advanced search (all categories in advanced search) = everything is ok
- sub category 1 = gives error while sorting (pushing the arrows)
- sub category 2 = gives error while sorting (pushing the arrows)

Sorry Brian but I can't reproduce this bug in my installation at:
http://www.christeris.net/vb4/classifieds.php?do=search

Could you please try there? If it works there, then you haven't upload all the files, or you need to clear your browser's cache. Of course there is a chance to not have understand (me), what's the real issue.

Chris

Goatpod 08-26-2011 02:29 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238314)
Please upload these 2 files at the forum root.

Chris


Hi Chris, thanks for that. It's certainly solved the problem of the sale going ahead when accepting. However, the link that it provides in the PM to accept or reject the sale is still mangled.

Code:

http://\"http//www.archery-interchange.net/usercp_classifieds.php?do=sellitem&itemid=13&statusid=1\&quot;=
It adds the bit in Red above which has to be manually removed before you can reach the page in which you can accept or reject the sale.

Thanks again.
Dave

Christos Teriakis 08-26-2011 02:39 PM

Quote:

Originally Posted by maineGuy72 (Post 2238268)
When i sort the datgrid while browsing it and try to sort i get no results and no errors

Fixed in 5.1.2

Christos Teriakis 08-26-2011 02:39 PM

Quote:

Originally Posted by BWJ (Post 2238276)
Yes, I saw that... Strange... I will try to reupload the files

Edit: I tried and the result is the same

Fixed in 5.1.2

Christos Teriakis 08-26-2011 02:50 PM

Quote:

Originally Posted by maineGuy72 (Post 2238277)
ok this might be a carry over bug from ver 4 but if the seller rejects the sale the item is still given a standby code of 1 instead of resetting to 0 and a new buyer is not allowed to click the buy button

The only that I found there missing is that if the Ad type = 2 (Wanted), then really is not activating again (Fixed in 5.1.2). But for sales and auction at least the code seems ok.

Chris

Christos Teriakis 08-26-2011 02:54 PM

Quote:

Originally Posted by maineGuy72 (Post 2238277)
ok this might be a carry over bug from ver 4 but if the seller rejects the sale the item is still given a standby code of 1 instead of resetting to 0 and a new buyer is not allowed to click the buy button

What I found missing is when the Ad type = 2 (Wanted), and I fixed in 5.1.2. The rest 2 types works (at least seeing the code), just keep in mind that it checks if the Ad has expired. If it has expired, for sure keeps it hidden.

Chris

Christos Teriakis 08-26-2011 03:03 PM

Quote:

Originally Posted by Goatpod (Post 2238330)
It adds the bit in Red above which has to be manually removed before you can reach the page in which you can accept or reject the sale.

Thanks again.
Dave

Try with this file Dave. Not sure if it will works or will have a missing /, but I removed the domain URL. Seems that vB adds bbcode to [URL=....], that's why appears double the http.

Chris

maineGuy72 08-26-2011 03:48 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238343)
Try with this file Dave. Not sure if it will works or will have a missing /, but I removed the domain URL. Seems that vB adds bbcode to [url=....], that's why appears double the http.

Chris

i cleared cache and tried it again and still get the http:\\ at the beginning with link error

maineGuy72 08-26-2011 03:51 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238337)
The only that I found there missing is that if the Ad type = 2 (Wanted), then really is not activating again (Fixed in 5.1.2). But for sales and auction at least the code seems ok.

Chris

in the items table there is a field called standyby (not hidden) that set to 1 when someone clicks on the buy button. if the seller rejects the offer that field doesnt reset to 0.
with that field at 1 the item still shows up normally but when someone tries to click the buy button they get a message saying that someone else already clicked the buy button before them.

i hope i explained that correctly

maineGuy72 08-26-2011 04:02 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238343)
Try with this file Dave. Not sure if it will works or will have a missing /, but I removed the domain URL. Seems that vB adds bbcode to [url=....], that's why appears double the http.

Chris

here is the fix

it looks like you had " in the link which it didnt need so VB thought it wasnt a properly formatted link so it added the http:// and because the " was there it added a / before the "

Christos Teriakis 08-26-2011 04:03 PM

Quote:

Originally Posted by maineGuy72 (Post 2238360)
i cleared cache and tried it again and still get the http:\\ at the beginning with link error

Give me the exact link as it appear to tricky it by droping out this piece of text.

BWJ 08-26-2011 04:06 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238329)
Sorry Brian but I can't reproduce this bug in my installation at:
http://www.christeris.net/vb4/classifieds.php?do=search

Could you please try there? If it works there, then you haven't upload all the files, or you need to clear your browser's cache. Of course there is a chance to not have understand (me), what's the real issue.

Chris

Thank you Chris, I have tried your installation, and at your site I can't reproduce the error. I have tried reuploading the files three times.......
------
Edit: Chris answered this on previous page, sorry. It should be fixed in 5.1.2.

maineGuy72 08-26-2011 04:10 PM

chris

also in the product-microclassified.xml file you are using ' for words like don`t
in the phrase definitions. you need to change ' to ` for it to correctly format otherwise it will display /' (ie don/'t)
' is a single quote
` is an apostrophe

Christos Teriakis 08-26-2011 04:27 PM

Quote:

Originally Posted by Goatpod (Post 2238304)
Mike, as you mentioned above, I've just replaced:

Try this please.
Chris

Christos Teriakis 08-26-2011 04:28 PM

Quote:

Originally Posted by maineGuy72 (Post 2238374)
chris

also in the product-microclassified.xml file you are using ' for words like don`t
in the phrase definitions. you need to change ' to ` for it to correctly format otherwise it will display /' (ie don/'t)
' is a single quote
` is an apostrophe

That strage... Maybe I was in rush. Actually, as I know it, I'm writing I do not instead of I don't.

Chris

Christos Teriakis 08-26-2011 04:35 PM

Quote:

Originally Posted by BWJ (Post 2238371)
Thank you Chris, I have tried your installation, and at your site I can't reproduce the error.

Achhh my dear Brian, you wasted your time without any special reason. The pages that you're showing me are not SEARCH pages but normal listings. I found this bug and I've fixed it. I even replied to your post too, along with Mike's post. The fix is on ver.5.1.2 which I'll release in a while among with some other fixes.

Chris
PS: Please remove that link from your post. What's that site with SAAB and Swedish flag? Please don't place me in troubles.

Goatpod 08-26-2011 04:35 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238343)
Try with this file Dave. Not sure if it will works or will have a missing /, but I removed the domain URL. Seems that vB adds bbcode to [URL=....], that's why appears double the http.

Chris

Thanks Chris, I've given it a go but it just removes the URL. I'm having a play about with hardcoding the url into the classifieds.php as a temporary fix but that's causing different problems :) I'm sure we'll get there eventually :D

maineGuy72 08-26-2011 04:40 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238385)
Try this please.
Chris

you cant use " at the beginning of a [url] statement.
see my above message

Christos Teriakis 08-26-2011 04:40 PM

Quote:

Originally Posted by Goatpod (Post 2238389)
Thanks Chris, I've given it a go but it just removes the URL. I'm having a play about with hardcoding the url into the classifieds.php as a temporary fix but that's causing different problems :) I'm sure we'll get there eventually :D

In another post I atatched a newer file that I tested, but better test it again before releasing it. Except if you brought upside-down to your code:D

Christos Teriakis 08-26-2011 04:43 PM

Quote:

Originally Posted by maineGuy72 (Post 2238391)
you cant use " at the beginning of a [url] statement.
see my above message

This one?

maineGuy72 08-26-2011 04:45 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238393)
This one?

you still have the end "
take that out and it should work.

just realized in my above post that it didnt display correctly. sorry
Code:

URL='.$vbulletin->options["bburl"].'/usercp_classifieds.php?do=sellitem&itemid='.$itemid.'&statusid=1
URL='.$vbulletin->options["bburl"].'/usercp_classifieds.php?do=rejectitem&itemid='.$itemid.'&urlid=1

just put a [ at start and ] and end for both lines no " at start or at the end

attached is the copy i am using

Christos Teriakis 08-26-2011 04:48 PM

Quote:

Originally Posted by maineGuy72 (Post 2238396)
you still have the end "

use this code it works


In the latest file I don't have " in the beginning and at the end.

maineGuy72 08-26-2011 04:53 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238398)
In the latest file I don't have " in the beginning and at the end.

there is a " after id=1 that needs to be removed

BWJ 08-26-2011 04:57 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238388)
Achhh my dear Brian, you wasted your time without any special reason. The pages that you're showing me are not SEARCH pages but normal listings. I found this bug and I've fixed it. I even replied to your post too, along with Mike's post. The fix is on ver.5.1.2 which I'll release in a while among with some other fixes.

Chris
PS: Please remove that link from your post. What's that site with SAAB and Swedish flag? Please don't place me in troubles.

Sorry... I didn't see your answer. PS: The SAAB site was an english site on a .net domain about a swedish car

maineGuy72 08-26-2011 05:01 PM

only 2 more votes to tie
https://vborg.vbsupport.ru/showthread.php?t=267754
if you havent voted yet vote now

Goatpod 08-26-2011 05:04 PM

Quote:

Originally Posted by maineGuy72 (Post 2238366)
here is the fix

it looks like you had " in the link which it didnt need so VB thought it wasnt a properly formatted link so it added the http:// and because the " was there it added a / before the "

Mike, thank you! Working perfectly! I owe you a beer!!! :) (and you too Chris)

Christos Teriakis 08-26-2011 05:07 PM

Quote:

Originally Posted by maineGuy72 (Post 2238402)
there is a " after id=1 that needs to be removed

Mike, I'll drop you in the snakes that you're selling:D. Try this file.

Chris

BWJ 08-26-2011 05:09 PM

Quote:

Originally Posted by maineGuy72 (Post 2238405)
only 2 more votes to tie
https://vborg.vbsupport.ru/showthread.php?t=267754
if you havent voted yet vote now

0 votes. Its a tie 52-52... :-).

maineGuy72 08-26-2011 05:14 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238409)
Mike, I'll drop you in the snakes that you're selling:D. Try this file.

Chris

yes works fine

Christos Teriakis 08-26-2011 05:15 PM

Quote:

Originally Posted by BWJ (Post 2238410)
0 votes. Its a tie 52-52... :-).

WOW !!! WOW !!! WOW !!!! :):):):):)
An update for one more vote !!! :D

maineGuy72 08-26-2011 05:18 PM

can you do one other things for me? please

product-microclassifieds.xml line 3273

replace the whole if condition with this
Code:

    <vb:if condition="$classified_sold==49">
      <select size="1" style="width:100px;" onchange="window.location.href=this.options[this.selectedIndex].value">
      <option value="0" selected="selected">{vb:var vbphrase.microclassifieds_select_short}</option>
      <vb:if condition="$classified_price>0">
        <option value="usercp_classifieds.php?do=sellitem&itemid={vb:raw classified_id}&statusid=1">{vb:var vbphrase.microclassifieds_accept_sale}</option>
      </vb:if>
      <option value="usercp_classifieds.php?do=sellitem&itemid={vb:raw classified_id}&statusid=1">{vb:var vbphrase.microclassifieds_accept_sale}</option>
      <option value="usercp_classifieds.php?do=rejectitem&itemid={vb:raw classified_id}&urlid=1">{vb:var vbphrase.microclassifieds_reject_sale}</option>
      <option value="usercp_classifieds.php?do=deleteitem&itemid={vb:raw classified_id}&urlid=1">{vb:var vbphrase.microclassifieds_delete_ad}</option>
      </select>
    </vb:if>

it adds accept to the drop down list in the usercp in the accept sale tab. it had the option is reject or delete but not accept. thanks

Christos Teriakis 08-26-2011 05:19 PM

This version fixes all post bugs after the release of 5.1.1 and also shows the searchable fields in the Ad's page. Finally the extra fields moved from the Seller's block to the Ad's block.

Please upload all files and import product-microclassifieds.xml

Thank you
Chris

Christos Teriakis 08-26-2011 05:20 PM

Quote:

Originally Posted by maineGuy72 (Post 2238414)
can you do one other things for me? please

product-microclassifieds.xml line 3273

replace the whole if condition with this
Code:

    <vb:if condition="$classified_sold==49">
      <select size="1" style="width:100px;" onchange="window.location.href=this.options[this.selectedIndex].value">
      <option value="0" selected="selected">{vb:var vbphrase.microclassifieds_select_short}</option>
      <vb:if condition="$classified_price>0">
        <option value="usercp_classifieds.php?do=sellitem&itemid={vb:raw classified_id}&statusid=1">{vb:var vbphrase.microclassifieds_accept_sale}</option>
      </vb:if>
      <option value="usercp_classifieds.php?do=sellitem&itemid={vb:raw classified_id}&statusid=1">{vb:var vbphrase.microclassifieds_accept_sale}</option>
      <option value="usercp_classifieds.php?do=rejectitem&itemid={vb:raw classified_id}&urlid=1">{vb:var vbphrase.microclassifieds_reject_sale}</option>
      <option value="usercp_classifieds.php?do=deleteitem&itemid={vb:raw classified_id}&urlid=1">{vb:var vbphrase.microclassifieds_delete_ad}</option>
      </select>
    </vb:if>

it adds accept to the drop down list in the usercp in the accept sale tab. it had the option is reject or delete but not accept. thanks

Too later for 5.1.2 Mike. Sorry. Tomorrow. I don't have the physical power to do anything right now.

Chris

maineGuy72 08-26-2011 05:26 PM

Quote:

Originally Posted by ChrisTERiS (Post 2238417)
Too later for 5.1.2 Mike. Sorry. Tomorrow. I don't have the physical power to do anything right now.

Chris

no worries i will add it to mine than on next update will have it. thanks again chris and enjoy rest of the day

1320Nation 08-26-2011 07:41 PM

Can someone explain how to remove the "Classifieds" Tab from the menutab?

I was given suggestions on two different ways on how to do this in post #510 and #518, but neither really worked properly. Both methods did remove the "Classifieds Tab", but they both also removed the main options/settings navbar from with in. The... What's New?, Post Classified, My Settings, and Moderate Classifieds disappear. Advanced thanks for who ever can help with this.

Jman423 08-26-2011 09:08 PM

Quote:

Originally Posted by psychobike (Post 2238471)
Can someone explain how to remove the "Classifieds" Tab from the menutab?

I was given suggestions on two different ways on how to do this in post #510 and #518, but neither really worked properly. Both methods did remove the "Classifieds Tab", but they both also removed the main options/settings navbar from with in. The... What's New?, Post Classified, My Settings, and Moderate Classifieds disappear. Advanced thanks for who ever can help with this.

Maybe I misunderstood what you were asking...

You want to remove the Classifieds tab, but keep the subnav options?

BWJ 08-26-2011 09:24 PM

Thank you for your hard work Chris!

1)
5.1.2 removed the error message while sorting within a category. Problem now, is that if you push the arrow the sorting will collect information from all categories, like in advanced search.

2) In the profile tab, there is no 'Post at' time for each classified

4) In advanced search: The location drop down box doesn't follow the width of the letters. It cuts them and is too narrow. There doesn't seem to be the same problem with the other drop downs.

5) Non-latin letters are not respected in the drop down of a 'seachable field' (created in admin) in sorting within advanced search . It will show them but it will not sort them. In stead it will write 'No records found'.

6) Furthermore I have found some more non translatable phrases. But I guess you prefer to get the primary bugs scrubbed first.

dypsisdean 08-26-2011 09:28 PM

I hadn't updated in a week or two, but a user informed me that when he clicked on "BUY IT" he was taken to the Home Page of my forum. I confirmed this was happening and just uploaded the latest everything, and the same thing is happening.

The URL after clicking on BUY IT is http://www.sitename/forum/#

HELP PLEASE

dypsisdean 08-26-2011 09:39 PM

Another small problem - PLEASE

I have the photos per row set to 4, but it doesn't seem to work after the latest upgrade. I have included an attachment.


All times are GMT. The time now is 03:20 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.03628 seconds
  • Memory Usage 1,869KB
  • 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
  • (8)bbcode_code_printable
  • (33)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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