vb.org Archive

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

Michigan Morels 03-20-2009 09:02 PM

Here is what i did to automatically remove (or hide), the "buy it link and image" from displaying, when seller does not accept pay-pal.

in edit templates>classifieds_Templates>classifieds_showad

Find this
PHP Code:

<tr>
 
                       <
td align="left" class="vbmenu_option">
                          <
img border="0" src="classifieds/images/buy.gif" width="15" height="15" align="left" style="padding-right:3px;" />
                          <
a href="classifieds.php?do=buy&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_buy]</b></a
                        </
td>
                      </
tr

replace with
PHP Code:

<if condition="empty($ad[paypalemail])"> &nbsp; <else />                      <tr>
 
                       <
td align="left" class="vbmenu_option">
                          <
img border="0" src="classifieds/images/buy.gif" width="15" height="15" align="left" style="padding-right:3px;" />
                          <
a href="classifieds.php?do=buy&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_buy]</b></a
                        </
td>
                      </
tr></if> 

all you are doing is adding the <if> and <else /> tags to top and closing </if> tag at bottom.

Hope this helps someone else.
__________


Thanks.

Ozidoggy 03-20-2009 10:30 PM

Seems suport has stopped?

Michigan Morels 03-21-2009 01:28 AM

I imagine she has a life outside this one thread or mod. It seems like since posting has slowed down that she catches up on things about once a week. That's still a lot better than some of the support with some other coders and even better than some 'paid' mods support. LOL

Weekend is coming up now. Maybe she'll have some time to catch us up then.

MaryTheG(r)eek 03-21-2009 04:34 AM

Quote:

Originally Posted by Michigan Morels (Post 1773072)
I imagine she has a life outside this one thread or mod. It seems like since posting has slowed down that she catches up on things about once a week. That's still a lot better than some of the support with some other coders and even better than some 'paid' mods support. LOL

Weekend is coming up now. Maybe she'll have some time to catch us up then.

Thank you for your supporting words. Yes, it's true that I'm busy for my personal and business life, but what confuses me a lot is that I've to follow up 3 different threads for the same mod. Sometimes I'm replying to A question which has post in 3.8 thread, and seeing it in 3.7 thread I think that I've replied it.

Mary

Toupsx 03-21-2009 02:23 PM

Quote:

Originally Posted by Toupsx (Post 1743711)
Any possibility of making the payment payable with credits or points on the forum such as VBCredits or virtual money instead of real money?

any answer on this?

MaryTheG(r)eek 03-21-2009 03:21 PM

Quote:

Originally Posted by Toupsx (Post 1773387)
any answer on this?

Do you mean payments to website owner for posting Ads or to the Ad's owner to pay for items that he/she is selling?

Mary

amjadz4 03-21-2009 04:06 PM

is there a 3.8.x compatible version of this mod?

MaryTheG(r)eek 03-21-2009 05:16 PM

Quote:

Originally Posted by amjadz4 (Post 1773479)
is there a 3.8.x compatible version of this mod?

It's compatible with 3.6.x, 3.7.x and 3.8.x You can find it in 3.8 mods too, but it's the same.

Mary

getstrength 03-21-2009 11:40 PM

Hi, sorry can't find a tread on how to sort this problem out?

"You don't have permissions to add more photos. Please upgrade, or remove old ones"

I'm sure there is a quick solution.

Cheers
steve

Toupsx 03-22-2009 01:03 PM

Quote:

Originally Posted by MicroHellas (Post 1773420)
Do you mean payments to website owner for posting Ads or to the Ad's owner to pay for items that he/she is selling?

Mary

I mean the complete system, instead of when someone makes a bid or whatever on an Ad they don't pay in paypal but they pay automatically from credits that are on their account in the database such as VBCredits and the Ad owner gets paid in credits aswell.


All times are GMT. The time now is 06:59 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.02085 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_php_printable
  • (5)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
  • (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