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=205465)

sdebank 02-26-2009 08:03 AM

Sadly tried it and the aforementioned tweaks but just a white page.

xcesivvs 02-26-2009 10:21 AM

A Few add ons i would suggest.

* Product Variance Calculations (Price changes depending on the choices picked in the drop box

* Quantity option. Availablility to have the people buy more than 1 of the item on 1 order.

* Postage (This would work like the product variance calculations add on)

* Be able to lock the Currency to a particular country (or set in 1 country, and if the customer changes the $ it uses an exchange rate or something

socalrico 02-26-2009 04:04 PM

Quote:

Originally Posted by mastertek2000 (Post 1752812)
but did you change the size of photos???

Ok I changed the photo sizes, but still no thumbnail and no photos?

I really want this feature on my site, any suggestions?

aaamaretto 02-28-2009 01:34 AM

error resolved

FRANKTHETANK 2 02-28-2009 03:52 AM

I can't get the images to show up any ideas

the attachment is the image i am trying to get to show

MaryTheG(r)eek 02-28-2009 04:33 AM

Quote:

Originally Posted by FRANKTHETANK 2 (Post 1756674)
I can't get the images to show up any ideas

the attachment is the image i am trying to get to show

Have you CMOD 777 the directories:
  • photos (inside classifieds folder)
  • thumbs (inside photos)
Mary

dwheeler 02-28-2009 09:55 PM

Hi

I have installed classifieds today to a clean install of vBullettin

However, under Usergroups > User Manager when I go to add permissions to groups there is no option available.

Any idea on what went wrong and how to fix it?

Thanks
Dan

MaryTheG(r)eek 03-01-2009 03:12 AM

Quote:

Originally Posted by dwheeler (Post 1757211)
Hi

I have installed classifieds today to a clean install of vBullettin

However, under Usergroups > User Manager when I go to add permissions to groups there is no option available.

Any idea on what went wrong and how to fix it?

Thanks
Dan

Hello Dan,

If you're sure that you've uploaded the file /includes/xml/bitfields_classifieds.xml then, in your admincp press F5 to refresh the page. Please note that sometimes Classifieds permissions appears at the top and not at the end of the list of permissions.

Mary

vividbreeze 03-01-2009 03:10 PM

any other demos? I would like to see a nice site using this feature.

smnet 03-01-2009 11:37 PM

I have tweaked the main 'item display' page because I felt the layout (especially the options) was badly arranged from a usability point of view.

Here is what I am using for the template classifieds_showad
It just makes all icons clickable and rearranges the template for much much better usability. I know you'll love it :)
Code:

<script type="text/javascript">
function deleteAd(adid)
{

        if(confirm("$vbphrase[classifieds_confirm]"))

                window.location= 'classifieds.php?do=deletead&adid=' + adid + '&return=ad';

}
</script>

<table cellpadding="2" cellspacing="2" width="100%" class="tborder">
  <tr>
    <td class="tcat" align="left" height="20">
      <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td align="left" height="20">
            <div class="smallfont"><b>&nbsp;&raquo;
            &nbsp;<a href="classifieds.php?do=showad&adid=$ad[id]">$ad[title]</a></div>
          </td>           
        </tr>
      </table>   
    </td>
  </tr>
  <tr>
    <td align="left" valign="top" class="alt1">
      <table width="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="25%" align="center">
                        <if condition="!empty($ad[photoname])">
                    <a href="classifieds/photos/$ad[photoname]" rel="thumbnail">
              <img border="0" src="classifieds/photos/thumbs/$ad[photoname]" /></a>
                      </if>
                      <if condition="$ad[price]<>0">
              <br /><big>$vbphrase[classifieds_price]: <b>$ad[price]</b> $ad[currency]</big>
                      </if>
          </td>

          <td width="75%" align="right">
            <div class="smallfont">
            <if condition="$ad[price]<>0">
              $vbphrase[classifieds_seller]:&nbsp;
            <else />
              $vbphrase[classifieds_by]:&nbsp;
            </if>
            <a target="_blank" href="member.php?u=$ad[userid]"><b>$ad[username]</b></a><br />
            <if condition="$print!=1">
              [<a href="classifieds.php?do=viewreviews&userid=$ad[userid]&title=$username"><b>$vbphrase[classifieds_view_reviews]</b></a>]&nbsp;
              [<a href="classifieds.php?do=userforsale&userid=$ad[userid]&title=$username"><b>$vbphrase[classifieds_other_ads]</b></a>]<br />
            </if>

            $vbphrase[classifieds_category]:
            <if condition="!empty($ad[subcatname])">
              <b>$ad[catname]</b>&raquo;<b>$ad[subcatname]</b>
            <else />
              <b>$ad[catname]</b>
            </if>
            <br />

            $vbphrase[classifieds_viewed]: <b>$ad[viewcount]</b> $vbphrase[classifieds_times]

            <if condition="$canmod || $ad[userid] == $userid">
                        <br /><br /><a href="classifieds.php?do=editad&adid=$adid&return=ad"><img border="0" src="classifieds/images/edit.gif" width="15" height="15" style="padding-right:3px;" /></a>
                        <a href="classifieds.php?do=editad&adid=$adid&return=ad"><b>$vbphrase[classifieds_edit]</b></a> | <a href="javascript:deleteAd($ad[id])"><img border="0" src="classifieds/images/delete.gif" width="15" height="15" style="padding-right:3px;" /></a>
                        <a href="javascript:deleteAd($ad[id])"><b>$vbphrase[classifieds_delete]</b></a><br /><br /></if>

            </div>         
          </td>
        </tr>
      </table>     
                </td>       
        </tr>
  <if condition="!empty($ad[description])">
    <tr>
      <td height="20" class="alt2" align="left">
        <div class="smallfont"><b>&nbsp;&raquo;&nbsp;$vbphrase[classifieds_general_info]</div>
      </td>
    </tr>
    <tr>
      <td width="100%" align="left" valign="top" class="alt1"><div style="float:right; margin-left:10px; margin-bottom:5px;"><a target="_blank" href="classifieds.php?do=print&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/print.gif" width="15" height="15" style="padding-right:3px;" /></a> <a target="_blank" href="classifieds.php?do=print&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_print]</b></a></div>$ad[description]
<if condition="$ad[price]<>0">
              <br /><br /><big>$vbphrase[classifieds_price]: <b>$ad[price]</b> $ad[currency]</big>
            </if>
</td>
    </tr>
  </if>
   
        <if condition="!empty($extrafields)">
          <tr>
      <td width="100%" height="20" class="alt2" align="left">
        <div class="smallfont"><b>&nbsp;&raquo;&nbsp;$vbphrase[classifieds_extra_fields]</div>
      </td>
    </tr>
                $extrafields       
        </if>
<if condition="$ad[userid] != $userid"><tr><td class="alt1"><br /><br />
                          <a href="classifieds.php?do=buy&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/buy.gif" width="15" height="15" style="padding-right:3px;" /></a>
                          <a href="classifieds.php?do=buy&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_buy]</b></a> |  <a target="_blank" href="private.php?$session[sessionurl]do=newpm&amp;u=$ad[userid]" rel="nofollow"><img border="0" src="classifieds/images/contact.gif" width="15" height="15" style="padding-right:3px;" /></a>
                          <a target="_blank" href="private.php?$session[sessionurl]do=newpm&amp;u=$ad[userid]" rel="nofollow"><b>$vbphrase[classifieds_contact]</b></a><br /><br /><br /></td></tr></if>
        <if condition="!empty($pictures)">
          <tr>
      <td width="100%" height="20" class="alt2" align="left">
        <div class="smallfont"><b>&nbsp;&raquo;&nbsp;$vbphrase[classifieds_gallery]</div>
      </td>
    </tr>
          <tr>
            <td width="100%" valign="top" class="alt1">
                                $pictures
                        </td>
    </tr>         
        </if>
    <tr>
      <td height="20" class="alt2" align="left">
        <div class="smallfont"><if condition="$canmod"><div class="smallfont" style="float:right;"><b>&nbsp;&raquo;&nbsp;$vbphrase[classifieds_moderate]</b></div></if><b>&nbsp;&raquo;&nbsp;Options:</b></div>
      </td>
    </tr>
    <tr>
      <td width="100%" align="left" valign="top" class="alt1">
<if condition="$canmod"><div style="float:right;">
                        <if condition="$ad[editor]<>1">
                            <a href="classifieds.php?do=seteditchoice&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/editor.gif" width="15" height="15" style="padding-right:3px;" /></a>
                        <else />
                            <a href="classifieds.php?do=removeeditchoice&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/editor.gif" width="15" height="15" style="padding-right:3px;" /></a>
                        </if>
                        <if condition="$ad[editor]<>1">
                            <a href="classifieds.php?do=seteditchoice&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_set_editor]</b></a><br />
                        <else />
                            <a href="classifieds.php?do=removeeditchoice&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_remove_editor]</b></a><br />
                        </if>
                       
                        <if condition="$ad[featured]<>1">
                          <a href="classifieds.php?do=setfeatured&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/featured.gif" width="15" height="16" style="padding-right:3px;" /></a>
                        <else />
                          <a href="classifieds.php?do=removefeatured&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/featured.gif" width="15" height="16" style="padding-right:3px;" /></a>
                        </if>
                        <if condition="$ad[featured]<>1">
                          <a href="classifieds.php?do=setfeatured&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_set_featured]</b></a><br />
                        <else />
                          <a href="classifieds.php?do=removefeatured&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_remove_featured]</b></a><br />
                        </if>

                        <if condition="$ad[bold]<>1">
                          <a href="classifieds.php?do=setbold&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/bold.gif" width="15" height="16" style="padding-right:3px;" /></a>
                        <else />
                          <a href="classifieds.php?do=removebold&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/bold.gif" width="15" height="16" style="padding-right:3px;" /></a>
                        </if>
                        <if condition="$ad[bold]<>1">
                          <a href="classifieds.php?do=setbold&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_set_bold]</b></a><br />
                        <else />
                          <a href="classifieds.php?do=removebold&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_remove_bold]</b></a><br />
                        </if>
</div>        </if>
                    <if condition="$ad[userid] != $userid">
                          <if condition="!$bookmarked">
                              <a href="classifieds.php?do=savebookmark&adid=$ad[id]"><img border="0" src="classifieds/images/bookmark.gif" width="15" height="15" style="padding-right:3px;" /></a>
                              <a href="classifieds.php?do=savebookmark&adid=$ad[id]"><b>$vbphrase[classifieds_bookmark]</b></a><br />
                          </if>
                    </if> 

                    <a href="classifieds.php?do=email&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/friend.gif" width="15" height="15" style="padding-right:3px;" /></a>
                    <a href="classifieds.php?do=email&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_friend]</b></a><br />

                    <if condition="$ad[userid] != $userid">
                        <a href="classifieds.php?do=report&adid=$ad[id]&title=$title"><img border="0" src="classifieds/images/report.gif" width="15" height="15" style="padding-right:3px;" /></a>
                                                <a href="classifieds.php?do=report&adid=$ad[id]&title=$title"><b>$vbphrase[classifieds_report]</b></a><br />
                  </if>   
      </td>
    </tr>
</table>



All times are GMT. The time now is 06:28 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.01457 seconds
  • Memory Usage 1,823KB
  • 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
  • (1)bbcode_code_printable
  • (3)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
  • (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