vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Portal Software - [Chris] Classifieds (https://vborg.vbsupport.ru/showthread.php?t=297847)

Christos Teriakis 05-11-2013 03:28 PM

For those who tried to upgrade to 1.5.0 / 1.5.1 and got database errors please download ver.1.5.2 and import the included in that file product-classifieds.xml

Christos Teriakis 05-11-2013 03:28 PM

Quote:

Originally Posted by DirtRider (Post 2421322)
Get this database error when uploading the XML file

Database error
The TriumphTalk database has encountered a problem.
Please try the following:

Database error in vBulletin 4.2.1: Invalid SQL: ALTER TABLE items ADD flagreserved INT( 1 ) UNSIGNED DEFAULT '1' NOT NULL; MySQL Error : Table 'davem_vbulletin.items' doesn't exist Error Number : 1146 Request Date : Saturday, May 11th 2013 @ 04:26:11 PM Error Date : Saturday, May 11th 2013 @ 04:26:12 PM Script : http://www.triumphtalk.com/1cB8dN8ca...=productimport Referrer : http://www.triumphtalk.com/1cB8dN8ca...?do=productadd IP Address : 105.236.125.215 Username : DaveM Classname : vB_Database MySQL Version : 5.5.29-0ubuntu0.12.04.2

See the post above......

CharlieDelta 05-11-2013 03:38 PM

Now works great!
Thank you for all your hard work Chris.

DirtRider 05-11-2013 03:40 PM

Thanks that fixed the database issue plus the days allowed to run ad

Christos Teriakis 05-11-2013 03:44 PM

This post works like a poll. Click like if you need this feature. Please note that a small fee maybe will applies. The question is:
"Do you need a feature where the Seller can set his PayPal address to accept online payments"?
As I said, if you need it click Like to THIS POST.

CharlieDelta 05-11-2013 04:00 PM

Quote:

Originally Posted by TheForumMarket (Post 2421328)
This post works like a poll. Click like if you need this feature. Please note that a small fee maybe will applies. The question is:
"Do you need a feature where the Seller can set his PayPal address to accept online payments"?
As I said, if you need it click Like to THIS POST.

It is not letting me like this post so please accept this as a "Like". :)

ikopylov 05-11-2013 04:02 PM

It would be great to not only paypal
but also to give the opportunity to add your own via the admin area
is selected by the admin

For example:
<textarea>LogoImage</textarea> - <textarea>PayPal</textarea> - <textarea>verified</textarea>
<textarea>LogoImage</textarea> - <textarea>Other</textarea> - <textarea>verified</textarea> (visa)
...
...
<textarea>LogoImage</textarea> - <textarea>Other</textarea> - <textarea>verified</textarea> (mastercard)

CharlieDelta 05-11-2013 04:09 PM

Would it be possible to get a pm notification that your ad has expired?

Christos Teriakis 05-11-2013 04:31 PM

Quote:

Originally Posted by ikopylov (Post 2421331)
It would be great to not only paypal
but also to give the opportunity to add your own via the admin area
is selected by the admin

For example:
<textarea>LogoImage</textarea> - <textarea>PayPal</textarea> - <textarea>verified</textarea>
<textarea>LogoImage</textarea> - <textarea>Other</textarea> - <textarea>verified</textarea> (visa)
...
...
<textarea>LogoImage</textarea> - <textarea>Other</textarea> - <textarea>verified</textarea> (mastercard)

When I said "PayPal payment", I didn't meant (and never use to mean simple things). I was meaning full automatic payments with IPN support which, on successfull payment, will auto mark the ad as sold and will inform the seller.

So, what you said can't be done. For this they can use the current payment field to inform buyers what payment forms they're accepting.

CharlieDelta 05-11-2013 04:54 PM

I am having a slight styling problem. Is it possible to not call on specific css files but rather all css files in the "classifieds_main" template?

Christos Teriakis 05-11-2013 05:02 PM

Quote:

Originally Posted by CharlieDelta (Post 2421340)
I am having a slight styling problem. Is it possible to not call on specific css files but rather all css files in the "classifieds_main" template?

I check one by one all frontend templates. In all templates the classifieds.css is including:
Code:

    <vb:if condition="$vboptions['storecssasfile']">
        {vb:cssfile forumhome-rollup.css,classifieds.css,popupmenu.css,options.css,usercp.css,additional.css,vbcms.css,widgets.css,postbit-lite.css,postlist.css,memberlist.css}
    <vb:else />
        {vb:cssfile usercp.css,additional.css,classifieds.css,popupmenu.css,options.css,vbcms.css,widgets.css,postbit-lite.css,postlist.css,memberlist.css}
    </vb:if>


CharlieDelta 05-11-2013 05:18 PM

It works fine on default style but not custom styles is what I am referring to.

darkoutzide 05-11-2013 05:23 PM

Thanks for the update :)

Christos Teriakis 05-11-2013 05:26 PM

Quote:

Originally Posted by CharlieDelta (Post 2421354)
It works fine on default style but not custom styles is what I am referring to.

See if classifieds.css has been installed on your custom style. If not you can copy the content of classifieds.css to additional.css of your custom title.
If it's about design issues (eg a color is not good) you can change the stylevars in classifieds.css. They're less than 10.

CharlieDelta 05-11-2013 05:51 PM

Quote:

Originally Posted by TheForumMarket (Post 2421357)
See if classifieds.css has been installed on your custom style. If not you can copy the content of classifieds.css to additional.css of your custom title.
If it's about design issues (eg a color is not good) you can change the stylevars in classifieds.css. They're less than 10.

Yes the classifieds.css is present in all styles. It is more of a template issue. For instance the template is missing
Code:

{vb:raw headinclude_bottom}

sadiq6210 05-11-2013 07:31 PM

Quote:

Originally Posted by TheForumMarket (Post 2421337)
When I said "PayPal payment", I didn't meant (and never use to mean simple things). I was meaning full automatic payments with IPN support which, on successfull payment, will auto mark the ad as sold and will inform the seller.

So, what you said can't be done. For this they can use the current payment field to inform buyers what payment forms they're accepting.

I don't want this
I prefer it simple as it is.

Please Chris, if you want to add this feature, then make option to totally disable the "PayPal payment system" in admincp.

migratoria 05-11-2013 08:21 PM

Hi Chris

Can you show me the code to insert the last 10 ads in the widget on the home of vbulletin?

smirkley 05-12-2013 02:42 AM

Testing out, but I noticed Usergroups that can post selection is stock vb oem, and doesnt load any custom usergroups I may designate.

edit,...sorry was using a v1.2.0 build. My bad.

Christos Teriakis 05-12-2013 06:01 AM

Classifieds ver. 1.6.0 is available for download. This is a maintenance release.
  1. Adds the missing {vb:raw headinclude_bottom} from the templates.
  2. Improves RTL support with an extra setting (General settings-> Text direction ... default LTR).
To upgrade download ver.1.6.0 and then:
  1. Upload christeris/includes/functions.php to christeris/includes/
  2. Import product-classifieds.xml checking overwrite
  3. If you're using a RTL language change the setting Text direction in General Classifieds settings.
Chris

Christos Teriakis 05-12-2013 06:02 AM

Quote:

Originally Posted by migratoria (Post 2421380)
Hi Chris

Can you show me the code to insert the last 10 ads in the widget on the home of vbulletin?

Later today I'll release a ready widget and a forum sidebar block for this.

Toorak Times 05-12-2013 06:51 AM

Quote:

Originally Posted by TheForumMarket (Post 2421464)
Later today I'll release a ready widget and a forum sidebar block for this.



Seriously? This is awesome mate! I have tried to vote for your idea for Paypal but the system won't let me.I would support, but would to be able to turn off like suggested above.

I just love the way you've seamlessly built the user profile into it.

SwollenCranium 05-12-2013 10:26 AM

Sir,

I am not seeing a Buy it now or a make offer button. Even if I leave the price as zero I still can't get a make offer to appear. Same result on default skin with all versions of this mod.


1. I create new ad.
2. Fill in all fields.
3. Publish ad.

Looks like this even if I set for sale and no price:

https://vborg.vbsupport.ru/external/2013/05/10.jpg


have I missed a setting somewhere? I don't think I have, installation was simple enough.

sadiq6210 05-12-2013 10:53 AM

Quote:

Originally Posted by SwollenCranium (Post 2421502)
Sir,

I am not seeing a Buy it now or a make offer button. Even if I leave the price as zero I still can't get a make offer to appear. Same result on default skin with all versions of this mod.


1. I create new ad.
2. Fill in all fields.
3. Publish ad.

Looks like this even if I set for sale and no price:

http://swollencranium.com/forums/att...0&d=1368357442


have I missed a setting somewhere? I don't think I have, installation was simple enough.

"Maybe" you are trying to buy your product ?!
Try to use another account.

Christos Teriakis 05-12-2013 10:55 AM

Quote:

Originally Posted by SwollenCranium (Post 2421502)
Sir,

I am not seeing a Buy it now or a make offer button. Even if I leave the price as zero I still can't get a make offer to appear. Same result on default skin with all versions of this mod.


1. I create new ad.
2. Fill in all fields.
3. Publish ad.

Looks like this even if I set for sale and no price:
have I missed a setting somewhere? I don't think I have, installation was simple enough.

I don't think that you messed anything. Most probably you're expecting to see these buttons in your own ads? What's the reason to see them? Are you planing to buy your own products:rolleyes:
Sorry for kidding...:) Seriously now... the buttons are not visible to the ad owner and to non logon users.

sadiq6210 05-12-2013 11:16 AM

Quote:

Originally Posted by TheForumMarket (Post 2421463)
Classifieds ver. 1.6.0 is available for download. This is a maintenance release.
  1. Adds the missing {vb:raw headinclude_bottom} from the templates.
  2. Improves RTL support with an extra setting (General settings-> Text direction ... default LTR).
To upgrade download ver.1.6.0 and then:
  1. Upload christeris/includes/functions.php to christeris/includes/
  2. Import product-classifieds.xml checking overwrite
  3. If you're using a RTL language change the setting Text direction in General Classifieds settings.
Chris

Thank you to support RTL
Please Chris add these fixes to the next release.

Use stylevar in:

1) classifieds_main

Code:

                        <td width="100%" align="right" style="padding-bottom:5px;">
Code:

                    <td align="{vb:stylevar left}" valign="top" style="width:{vb:raw vboptions.classifieds_leftside}; padding-right:10px;">
Code:

                    <td align="{vb:stylevar left}" valign="top" style="width:{vb:raw vboptions.classifieds_rightside}; padding-left:10px;">

2) classifieds_browse_bit

Code:

                <div style="float: {vb:stylevar left}; padding-right: 5px; padding-bottom: 4px; {vb:raw thumbdivstyle}">
Code:

                <span class="readmore" style="clear: left;float: {vb:stylevar right};font-weight: bold;text-align: {vb:stylevar right};width: 50%;">

3) classifieds_browse

Code:

                    <td align="{vb:stylevar left}" valign="top" style="width:{vb:raw vboptions.classifieds_rightside}; padding-left:10px;">
Code:

                    <td align="{vb:stylevar left}" valign="top" style="width:{vb:raw vboptions.classifieds_leftside}; padding-right:10px;">

4) classifieds_categories_bit

Code:

                <div style="float: {vb:stylevar left}; padding-right: 5px; padding-bottom: 4px; {vb:raw thumbdivstyle}">
Code:

                <span class="readmore" style="clear: left;float: {vb:stylevar right};font-weight: bold;text-align: {vb:stylevar right};width: 50%;">

5) classifieds_view_item

Code:

                        <td width="100%" valign="top" style="padding-left:10px; padding-right:10px;">
Code:

                        <td colspan="2" align="{vb:stylevar left}" style="padding-top:10px; padding-right:10px;">
Code:

                                    <td style="padding-right:10px;">

6) classifieds.css

Code:

.popup_ul {
        list-style-type: circle;
    margin-left: 15px;
    margin-right: 5px;

    margin-top: 5px;
}

Code:

td.adtype {
    margin-right:10px;
    border-bottom: 2px solid #425769;
}

Code:

td.rightsection {
    border-top: 4px solid #425769;
    background: #CBDCEA;
    border-left: 1px solid #425769;
}


It is easy to modify it but painful to repeat many times

SwollenCranium 05-12-2013 11:18 AM

Quote:

Originally Posted by TheForumMarket (Post 2421504)
I don't think that you messed anything. Most probably you're expecting to see these buttons in your own ads? What's the reason to see them? Are you planing to buy your own products:rolleyes:
Sorry for kidding...:) Seriously now... the buttons are not visible to the ad owner and to non logon users.


Ha!

Yes sir, makes perfect sense now.


Thanks.

My Dark Tower 05-12-2013 12:19 PM

Awesome! This is what I am looking for. Thank you for all your hard work.

CharlieDelta 05-12-2013 01:10 PM

Excellent work and update Chris.
I have not updated yet to 1.6.0 but I have solved all of my issues. :)

DirtRider 05-12-2013 02:05 PM

I have just noticed that on a black theme the right blue window the text is very hard to see

http://www.triumphtalk.com/gallery/d...y_12_17_02.jpg

CharlieDelta 05-12-2013 02:09 PM

Hey Dirtrider,
I had the same issue. You just need to adjust the background color in the classifieds.css. CSS Templates=>classifieds.css. Change the background color in the following code to suit your needs. :)
Code:

td.rightsection {
    border-top: 4px solid #D3D4AA;
    background: #5C5B4B;
    border-left: 1px solid #D3D4AA;
}


DirtRider 05-12-2013 03:07 PM

Quote:

Originally Posted by CharlieDelta (Post 2421528)
Hey Dirtrider,
I had the same issue. You just need to adjust the background color in the classifieds.css. CSS Templates=>classifieds.css. Change the background color in the following code to suit your needs. :)
Code:

td.rightsection {
    border-top: 4px solid #D3D4AA;
    background: #5C5B4B;
    border-left: 1px solid #D3D4AA;
}


Ah thanks that sorted that one out :D

RichieBoy67 05-12-2013 03:28 PM

I can't wait to check this out Chris!!

pontello 05-12-2013 05:47 PM

Hi,
many thanks for your work!
How to get a widget to put in the other pages of the forum with the list of the lasts classifieds? with the rss feed? in this case I receive an error, please look here: http://www.vespaonline.com/classifieds.php?do=feeds
Many thanks

Luca

Christos Teriakis 05-12-2013 05:56 PM

Quote:

Originally Posted by pontello (Post 2421577)
Hi,
many thanks for your work!
How to get a widget to put in the other pages of the forum with the list of the lasts classifieds? with the rss feed? in this case I receive an error, please look here: http://www.vespaonline.com/classifieds.php?do=feeds
Many thanks

Luca

I can't access that page (permissions error) but if the message that you're getting is about date format (something like "expecting long..."), you'll find the solution in version 1.6.1 that I'll release just after this post.

And yes you can use RSS for widget, but I'll release a widger for CMS and a block for Forum sidebar. It was to do it today but I had lot of work to finish, so I let it for tomorrow.

Chris

migratoria 05-12-2013 07:14 PM

Quote:

Originally Posted by TheForumMarket (Post 2421464)
Later today I'll release a ready widget and a forum sidebar block for this.

Tanks Chris..

MoreLinux 05-12-2013 07:51 PM

@TheForumMarket, your mod looks like I'm going to use it. An small and simple (and I mean that in a positive way) classified system. Just what i need.

Thanks.

pontello 05-13-2013 12:45 AM

There is another error with the rss feed, thanks...

Code:

This page contains the following errors:

error on line 17 at column 329: Encoding error
Below is a rendering of the page up to the first error.

Forum Vespaonline - Annunci http://www.vespaonline.com/classifieds.php Mon, 13 May 2013 03:37:57 +0200 http://www.vespaonline.com en [For Sale] Vespa 150 VBA1T (Brand New) http://www.vespaonline.com/classifieds.php?do=viewitem&itemid=3&title=Vespa 150 VBA1T Thu, 01 Jan 1970 01:00:05 +0100 : oldro (Individual) http://www.vespaonline.com/classifieds.php?do=viewitem&itemid=3&title=Vespa 150 VBA1T


Christos Teriakis 05-13-2013 03:27 AM

Quote:

Originally Posted by pontello (Post 2421649)
There is another error with the rss feed, thanks...

Code:

This page contains the following errors:

error on line 17 at column 329: Encoding error
Below is a rendering of the page up to the first error.

Forum Vespaonline - Annunci http://www.vespaonline.com/classifieds.php Mon, 13 May 2013 03:37:57 +0200 http://www.vespaonline.com en [For Sale] Vespa 150 VBA1T (Brand New) http://www.vespaonline.com/classifieds.php?do=viewitem&itemid=3&title=Vespa 150 VBA1T Thu, 01 Jan 1970 01:00:05 +0100 : oldro (Individual) http://www.vespaonline.com/classifieds.php?do=viewitem&itemid=3&title=Vespa 150 VBA1T


It happens sometimes with the language code. You need to manually edit the file classifieds.php. Open it with a text editor (like notepad)....

Search for:
Code:

header('Content-Type: text/xml; charset='.$vbulletin->options["charset"].'');
Replace it with:
Code:

header('Content-Type: text/xml; charset=utf-8');
utf-8 is a sample here working in most cases. But you need to add the charset that you've set in your admincp-> Languages-> Settingd (eg iso-8859-1 etc etc).

sadiq6210 05-13-2013 04:26 AM

What is the change-log for 1.6.1? :)

Christos Teriakis 05-13-2013 06:06 AM

Quote:

Originally Posted by sadiq6210 (Post 2421667)
What is the change-log for 1.6.1? :)

Haven't you got the update email? It fixes a database error while adding an extra field, and also fixes a language error in RSS. Sorry but I haven't time to include your corrections for RTL.


All times are GMT. The time now is 09:32 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.02680 seconds
  • Memory Usage 1,865KB
  • 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
  • (23)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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