vb.org Archive

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

Gio~Logist 04-09-2006 05:22 PM

Quote:

Originally Posted by arossphoto
I just realized that guests cannot view ads unless I give them permission to "use SR Classifieds system", but then they can post ads too. I want them to be able to see ads, and be able to contact the seller, but that's it. Can this be done?

Try overwriting sr_classifieds.php and tell me if it works. I made it so that guests cannot post ads or give new feedback at all in this file.

arossphoto 04-09-2006 05:31 PM

Quote:

Originally Posted by gio~logist
Try overwriting sr_classifieds.php and tell me if it works. I made it so that guests cannot post ads or give new feedback at all in this file.

That works. They also can't use the email feature, but that's probably a good idea anyway.

I just noticed a different problem. I've been using Firefox and just tested it in IE as well and noticed the path to the nocat image is: http://www.yoursite.com/images/misc/nocatimage.gif. Firefox doesn't show the empty placeholder, so I hadn't noticed this before.

I've been looking through the templates, but I can find anywhere to change this path.

Thanks.

Gio~Logist 04-09-2006 05:46 PM

Quote:

Originally Posted by arossphoto
That works. They also can't use the email feature, but that's probably a good idea anyway.

I just noticed a different problem. I've been using Firefox and just tested it in IE as well and noticed the path to the nocat image is: http://www.yoursite.com/images/misc/nocatimage.gif. Firefox doesn't show the empty placeholder, so I hadn't noticed this before.

I've been looking through the templates, but I can find anywhere to change this path.

Thanks.

That's in SR Classifieds Options.

arossphoto 04-09-2006 05:51 PM

Quote:

Originally Posted by arossphoto
That works. They also can't use the email feature, but that's probably a good idea anyway.

I just noticed a different problem. I've been using Firefox and just tested it in IE as well and noticed the path to the nocat image is: http://www.yoursite.com/images/misc/nocatimage.gif. Firefox doesn't show the empty placeholder, so I hadn't noticed this before.

I've been looking through the templates, but I can find anywhere to change this path.

Thanks.

Never mind! I'm an idiot! I sometimes forget to look in the obvious places first.

I hope this isn't another stupid question but I tried setting Categories Per Row to 1, and it look fine FireFox but in IE it looks like this. See attached image:

bashy 04-09-2006 05:53 PM

Hi again Gio.....Tis ok theres no issues to report YET! lol
Was just wondering if you had a list or even part list to drool over for the premium version?

Gio~Logist 04-09-2006 06:00 PM

Quote:

Originally Posted by arossphoto
Never mind! I'm an idiot! I sometimes forget to look in the obvious places first.

I hope this isn't another stupid question but I tried setting Categories Per Row to 1, and it look fine FireFox but in IE it looks like this. See attached image:

Hehe. That was a simple arithmetic problem. Incase you were wondering, what happened was this. The width of the tables were set using this equation:

$catwidth = 1/$catsperrow;

So when you have 1/1(you set one category per row), it gives you 1, instead of 100. And even when you have 2 per row, it gives you .5 instead of 100. The quation has been changed to:

$catwidth = 1/$catsperrow * 100;

And now it gives you 100 if you set 1 and 50 if you set 2. Anyways, just thought i'd share that lol. You can either redownload the zip and upload that sr_classifieds.php or take the one i'll attach for you here.

arossphoto 04-09-2006 06:57 PM

Quote:

Originally Posted by gio~logist
Hehe. That was a simple arithmetic problem.

For some of us there's nothing simple about arithmetic :confused:

Here's another IE problem for you. When viewing the ad in Firefox the image appears fine, but in IE the space is blank. The thumbnail displays fine in the random ads as well as the cat listing, but not when viewing the ad. The problem was the same with the default image and after I uploaded a new image.

Here's the link to the ad in question:

http://www.canphoto.net/forums/sr_cl...php?do=ad&id=1

Thanks again,

Andrew

Gio~Logist 04-09-2006 07:17 PM

Quote:

Originally Posted by arossphoto
For some of us there's nothing simple about arithmetic :confused:

Here's another IE problem for you. When viewing the ad in Firefox the image appears fine, but in IE the space is blank. The thumbnail displays fine in the random ads as well as the cat listing, but not when viewing the ad. The problem was the same with the default image and after I uploaded a new image.

Here's the link to the ad in question:

http://www.canphoto.net/forums/sr_cl...php?do=ad&id=1

Thanks again,

Andrew

Try editing sr_classifieds_viewad and change the <img src="$ad[image] to <img src="$vboptions[bburl]/$ad[image]"

See if that works.

I don't see why it doesn't show though, i mean, it's pulling up the info right.

Gizmo5h1t3 04-09-2006 07:51 PM

installed. and works a treat..
nice hack

bashy 04-09-2006 07:53 PM

Got an idea for an add on :)

How about when a new ad is placed, perhaps a marquee of some sort like i have on my forumhome showing the latest 10 or even a setting for random??


All times are GMT. The time now is 07:45 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.01549 seconds
  • Memory Usage 1,751KB
  • 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
  • (7)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