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)

Alp Ozdemir 08-23-2011 06:32 AM

Quote:

Originally Posted by ChrisTERiS (Post 2236870)
Please upload the attached file at: microclassifieds/includes/

Thanks, it works!

Alp Ozdemir 08-23-2011 06:59 AM

By the way, "watch this category" link not working correctly in classifieds home page and also advanced search too

DavidExtreme 08-23-2011 08:53 AM

thanks chris... very very nice... but i have some question. The Classified is runing well on my default style...but if I switch to custom style, my navbar change like this :
https://vborg.vbsupport.ru/external/2011/08/12.jpg

This is my original custom style :
https://vborg.vbsupport.ru/external/2011/08/13.jpg

Any idea to fix that?


Best Regard
David:)

Christos Teriakis 08-23-2011 09:12 AM

Quote:

Originally Posted by DavidExtreme (Post 2236939)
thanks chris... very very nice... but i have some question. The Classified is runing well on my default style...but if I switch to custom style, my navbar change like this :
Any idea to fix that?
Best Regard
David:)

Hello David,

Unfortunatelly you must contact your designer to fix it. As you can see in the code below, I'm using standard vB syntax to show it:
Code:

<vb:if condition="$vboptions['selectednavtab'] == 'microclassifieds'">
  <li class="selected">
  <a class="navtab" href="classifieds.php{vb:raw session.sessionurl_q}">{vb:var vbphrase.microclassifieds_classifieds}</a>
  <ul class="floatcontainer">
    <li class="popupmenu">
      <a href="javascript://" class="popupctrl">{vb:var vbphrase.microclassifieds_whats_new}</a>
      <ul class="popupbody popuphover">
        <li><a href="classifieds.php{vb:raw session.sessionurl_q}?do=search&date_filter=7&top_search=1">{vb:var vbphrase.microclassifieds_1_week}</a></li>
        <li><a href="classifieds.php{vb:raw session.sessionurl_q}?do=search&date_filter=14&top_search=1">{vb:var vbphrase.microclassifieds_2_weeks}</a></li>
        <li><a href="classifieds.php{vb:raw session.sessionurl_q}?do=search&date_filter=21&top_search=1">{vb:var vbphrase.microclassifieds_3_weeks}</a></li>
        <li><a href="classifieds.php{vb:raw session.sessionurl_q}?do=search&date_filter=30&top_search=1">{vb:var vbphrase.microclassifieds_4_weeks}</a></li>
      </ul>
    </li>
....................................................

Sorry for not being more helpfull, but I don't know lots about custom designs.

Chris

DavidExtreme 08-23-2011 09:30 AM

ohhhh ok chris..i'll try to contact my designer. Thanks :)

ChangeFive 08-23-2011 11:32 AM

Quote:

Originally Posted by ChrisTERiS (Post 2236869)
Please upload the attached file to microclassifieds/includes/

Fixed the issue. Thanks!

maineGuy72 08-23-2011 01:30 PM

Quote:

Originally Posted by Alp Ozdemir (Post 2236922)
By the way, "watch this category" link not working correctly in classifieds home page and also advanced search too

i am also getting this error

Redirecting...

Invalid data specified

this is the link
classifieds.php?do=followup&catid=0&action=1

BWJ 08-23-2011 03:49 PM

I have found some phrases that are not translatable within the phrase manager (marked with red):

1)
Displaying rows x to x
(while browsing a category)

2)
This ad expires in x weeks, x days, x hours, xx minutes
(missing phrase for weeks, days, hours and minutes)

3)
Photo, Type, Title, Category, User, Post at, Price, Location
(while browsing a category - each columns headline)

4)
Classifieds
(the tab in user profile)

5)
Possible minor issue:
Browse categories in: *
(* = missing categoryname)

Christos Teriakis 08-23-2011 04:16 PM

Quote:

Originally Posted by BWJ (Post 2237049)
I have found some phrases that are not translatable within the phrase manager (marked with red):

1)
Displaying rows x to x
(while browsing a category)

2)
This ad expires in x weeks, x days, x hours, xx minutes
(missing phrase for weeks, days, hours and minutes)

3)
Photo, Type, Title, Category, User, Post at, Price, Location
(while browsing a category - each columns headline)

4)
Classifieds
(the tab in user profile)

5)
Possible minor issue:
Browse categories in: *
(* = missing categoryname)

I know them Brian, as I haven't finished yet with the datagrid. Thank you for reporting.

Chris

Christos Teriakis 08-23-2011 04:18 PM

Quote:

Originally Posted by maineGuy72 (Post 2237004)
i am also getting this error

Redirecting...

Invalid data specified

this is the link
classifieds.php?do=followup&catid=0&action=1

Seems that by mistake, I removed the condition check somewhere there. Is not possible to followup a category with id=0. This happens only to homepage.

Chris

maineGuy72 08-23-2011 04:20 PM

hi chris,
it appears that we are running out of errors to report. thats a good thing. keep up the good work

fwulfers 08-23-2011 04:32 PM

When logged in as a regular member, I can't seem to Edit or Delete my own ads. I checked in the Group permissions but there is no setting for something like "Can edit or delete own ads".

Regardless of the maximum image size for uploaded images, the images in the lightbox are always the same size (about 600 px wide). I have my size set to 800 px but that doesn't show when going through the images in the actual classified.

I have added 9 custom fields and the Advanced Search screen is getting very wide and you have to scroll sideways to see them all. This is not a bug though and I am not sure how this can be improved without seeing all fields. Perhaps a Search side bar with all fields, and limited number of fields in the search result pane?
http://saabworld.net/classifieds.php?do=search

I am also having some formatting issues with my site themes/skins. Most of it is formatting all right except when browsing or searching. http://saabworld.net/classifieds.php?do=main&catid=2

Even when switching to a basic vBulletin theme with a few different colors, the headers for the Browse section remains the standard light blue.

I have moved all my ads from the old to this new system and no errors or other problems.

maineGuy72 08-23-2011 04:51 PM

Quote:

Originally Posted by fwulfers (Post 2237080)

I am also having some formatting issues with my site themes/skins. Most of it is formatting all right except when browsing or searching. http://saabworld.net/classifieds.php?do=main&catid=2

Even when switching to a basic vBulletin theme with a few different colors, the headers for the Browse section remains the standard light blue.

I have moved all my ads from the old to this new system and no errors or other problems.

i think there is 6 different skins for the datgrid. just no option to select them. that light blue bar for browse header is defined by which skin is used. (if i am reading that code correctly) i would have to assume that in the future you will be able to change or even add your own skin to match your site. ofcourse i could be totally wrong.

Christos Teriakis 08-23-2011 04:56 PM

Quote:

Originally Posted by fwulfers (Post 2237080)
When logged in as a regular member, I can't seem to Edit or Delete my own ads. I checked in the Group permissions but there is no setting for something like "Can edit or delete own ads".

Settings (UserCP)-> My Classifieds. At the right side there is a droplist with the available options according to Ad's status

Quote:

Originally Posted by fwulfers (Post 2237080)
Regardless of the maximum image size for uploaded images, the images in the lightbox are always the same size (about 600 px wide). I have my size set to 800 px but that doesn't show when going through the images in the actual classified.

I'll check it. It's first time using lightbox but the thumbviewer which Mary's was using is very old.

Quote:

Originally Posted by fwulfers (Post 2237080)
I have added 9 custom fields and the Advanced Search screen is getting very wide and you have to scroll sideways to see them all. This is not a bug though and I am not sure how this can be improved without seeing all fields. Perhaps a Search side bar with all fields, and limited number of fields in the search result pane?
http://saabworld.net/classifieds.php?do=search

As I've wrote in a previous post I'll add switches to standard fields to turn them On/Off in searching. From that point I can't do something more. But there is a scrolling bar at the bottom. Also avoid to use a lot of extra searchable fields:)

Quote:

Originally Posted by fwulfers (Post 2237080)
I am also having some formatting issues with my site themes/skins. Most of it is formatting all right except when browsing or searching. http://saabworld.net/classifieds.php?do=main&catid=2

Even when switching to a basic vBulletin theme with a few different colors, the headers for the Browse section remains the standard light blue.

I have moved all my ads from the old to this new system and no errors or other problems.

I'll check it, even if I'm not guru in design.

Chris

Christos Teriakis 08-23-2011 04:58 PM

Quote:

Originally Posted by maineGuy72 (Post 2237073)
hi chris,
it appears that we are running out of errors to report. thats a good thing. keep up the good work

Good for you, bad for me, as I'll lost my job:D No work... no job...

fwulfers 08-23-2011 05:08 PM

Quote:

Originally Posted by ChrisTERiS (Post 2237086)
Settings (UserCP)-> My Classifieds. At the right side there is a droplist with the available options according to Ad's status

Ah yes, I was looking at the bottom of the Classified like how it shows when you belong to a user group that can moderate ads.

Quote:

Originally Posted by ChrisTERiS (Post 2237086)
As I've wrote in a previous post I'll add switches to standard fields to turn them On/Off in searching. From that point I can't do something more. But there is a scrolling bar at the bottom. Also avoid to use a lot of extra searchable fields:)

But the extra fields is the reason for switching to this. :) The change like you described will improve it a lot. Not all fields are important in Search results.

I was also thinking of maybe the possibility of turning off the Weight and Dimensions fields? We don't really have any use for those fields. As you can tell, these are just minor things. Software works great so far.

maineGuy72 08-23-2011 05:36 PM

in datagrid it does not show the category you are browsing in

Browse Classifieds in: and all Subcategories

maineGuy72 08-23-2011 05:58 PM

in dgstyle.css in the datagrid/css folder look for .dgHeader at line 44
this controls the look for the browse in category bar. but for some reason i cant get the background to change even if i take out the background image url. i will keep messing with it

maineGuy72 08-23-2011 06:40 PM

when browsing a category and screen resolution is 1024x768 or less only part of the datagrid is seen and there is no slide bar to view more

not sure how big a deal this is but thought i would point it out

fwulfers 08-23-2011 07:51 PM

Small bug.. When you click on an image in Seller's other items, the link is missing the itemid and results in: Invalid data specified

example:
/classifieds.php?do=viewitem&itemid=&urlid=1&userid =19

When you click on the title next to the image, the itemid is OK.
/classifieds.php?do=viewitem&itemid=20&urlid=1&user id=19

By the way, why would you include the urlid and userid in these links? Just the itemid works fine as well.

maineGuy72 08-24-2011 01:28 AM

another small bug.

when you are on an item page and you click the next or previous ad links that are at the bottom. it is showing ads that are marked as hidden. simple fix with adding to the sql query string

NTMID8 08-24-2011 04:26 AM

Quote:

Originally Posted by NTMID8 (Post 2236838)
I do have that template you mentioned. Here is the link. I only have one style on my site.

http://www.nkyfba.com/forum/classifieds.php

Mike? Chris? Anyone?

Christos Teriakis 08-24-2011 04:41 AM

Quote:

Originally Posted by fwulfers (Post 2237143)
By the way, why would you include the urlid and userid in these links? Just the itemid works fine as well.

URLid shows me from where someone is reaching viewitem page, so I can activate or not the "Previous-Next" feature, and userid helps me to set a condition in "Previous-Search" to show only Ads from that member. Sure as I know the itemid, I can get the userid with a query. But this adds a query without any special reason, something that I want to avoid. Less queries, faster operation.

Chris

Christos Teriakis 08-24-2011 04:47 AM

Quote:

Originally Posted by maineGuy72 (Post 2237247)
another small bug.

when you are on an item page and you click the next or previous ad links that are at the bottom. it is showing ads that are marked as hidden. simple fix with adding to the sql query string

Thank you Mike.

Christos Teriakis 08-24-2011 04:48 AM

Quote:

Originally Posted by maineGuy72 (Post 2237118)
when browsing a category and screen resolution is 1024x768 or less only part of the datagrid is seen and there is no slide bar to view more

not sure how big a deal this is but thought i would point it out

I know it Mike, but still haven't finished with datagrid.

Christos Teriakis 08-24-2011 04:52 AM

Quote:

Originally Posted by maineGuy72 (Post 2237104)
in dgstyle.css in the datagrid/css folder look for .dgHeader at line 44
this controls the look for the browse in category bar. but for some reason i cant get the background to change even if i take out the background image url. i will keep messing with it

Not there Mike. I'm using the style lightgrey so you need to work with the file:
lightgray/css/dgstyle.css. The one that you're working is when no style has been definied.
But if you're trying to remove that dammit gray padding on left and right, I fixed it even if they broke me nerves to find it. It's coming from vB's body padding, that's why is gray. Wait for the update later on today.

Chris

Christos Teriakis 08-24-2011 04:54 AM

Quote:

Originally Posted by maineGuy72 (Post 2237085)
i think there is 6 different skins for the datgrid. just no option to select them.

The option is on classifieds.php. Search for:
Code:

$objGrid -> skinimages('lightgray', 'microclassifieds/datagrid/skins/%s/icons/');
It appears 2 times. One for the browsing and one for searching.

Chris

Christos Teriakis 08-24-2011 04:56 AM

Quote:

Originally Posted by NTMID8 (Post 2237286)
Mike? Chris? Anyone?

I'll check the design issues after finishing with the datagrid. Please have patience. I can't do all together.

Chris

Christos Teriakis 08-24-2011 07:10 AM

Quote:

Originally Posted by nikosb (Post 2236681)
  • uninstalled ads
  • I did a new installation
  • I created a test ADS
and the problem of characters in the title remains

?�?�κ?�?�?�
please help

Hello Nikos,

If you're familiar with phpMyAdmin can you change the title of any Ad directly with phpMyAdmin and then check how it appears in the grid?

Chris

nikosb 08-24-2011 07:24 AM

changed the title in the table microclassifieds_items
But again appears ����

ngphuc2k 08-24-2011 07:34 AM

Good idea for classifieds.
Thanks

maineGuy72 08-24-2011 09:51 AM

Quote:

Originally Posted by ChrisTERiS (Post 2237294)
Not there Mike. I'm using the style lightgrey so you need to work with the file:
lightgray/css/dgstyle.css. The one that you're working is when no style has been definied.
But if you're trying to remove that dammit gray padding on left and right, I fixed it even if they broke me nerves to find it. It's coming from vB's body padding, that's why is gray. Wait for the update later on today.

Chris

see the attached image. this is what i am trying to change. the left and right change with whatever style i am using but that part doesnt. when i change the font size or boldness in that dgstyle it changes on the screen so is it using 2 different css files for that one area?

maineGuy72 08-24-2011 10:02 AM

Quote:

Originally Posted by ChrisTERiS (Post 2237295)
The option is on classifieds.php. Search for:
Code:

$objGrid -> skinimages('lightgray', 'microclassifieds/datagrid/skins/%s/icons/');
It appears 2 times. One for the browsing and one for searching.

Chris

i changed it to greenday and nothing changed on the datagrid.
is that becuase it is only lists the icon path and not the css path? that might be why when i change datagrid/css/dgstyle.css it works

maineGuy72 08-24-2011 10:05 AM

Quote:

Originally Posted by nikosb (Post 2237317)
changed the title in the table microclassifieds_items
But again appears ?�?�κ?�?�?�

could this be related to the non-alphanumeric characters showing up wrong that i found?

what is the website

nikosb 08-24-2011 10:23 AM

Quote:

Originally Posted by maineGuy72 (Post 2237354)
could this be related to the non-alphanumeric characters showing up wrong that i found?

what is the website

Code:

http://www.supa.gr/forums/classifieds.php?do=main&catid=1

Christos Teriakis 08-24-2011 12:44 PM

Quote:

Originally Posted by maineGuy72 (Post 2237349)
see the attached image. this is what i am trying to change. the left and right change with whatever style i am using but that part doesnt. when i change the font size or boldness in that dgstyle it changes on the screen so is it using 2 different css files for that one area?

This is not something that you can change from the grid's css. There is the body of iframe and thus is the padding that you have in your vB's pages.

Import this new xml file and it will corrects it.

Chris

Christos Teriakis 08-24-2011 12:45 PM

Quote:

Originally Posted by nikosb (Post 2237362)
Code:

http://www.supa.gr/forums/classifieds.php?do=main&catid=1

When you tried to edit the title with phpMyAdmin, have you wrote the it manually? Better copy a text from in.gr which is utf-8 and paste it there. Then check it.

Chris

maineGuy72 08-24-2011 12:56 PM

Quote:

Originally Posted by ChrisTERiS (Post 2237418)
This is not something that you can change from the grid's css. There is the body of iframe and thus is the padding that you have in your vB's pages.

Import this new xml file and it will corrects it.

Chris

i am still getting the blue bar

maineGuy72 08-24-2011 12:58 PM

Quote:

Originally Posted by ChrisTERiS (Post 2237420)
When you tried to edit the title with phpMyAdmin, have you wrote the it manually? Better copy a text from in.gr which is utf-8 and paste it there. Then check it.

Chris

it must be stored correctly in the dbase cause the random ads shows it correctly so does the individual pages.

i have seen some pages online that talk about greek characters not working correctly in jquery. what about adding a js lang pack?

nikosb 08-24-2011 01:00 PM

Quote:

Originally Posted by ChrisTERiS (Post 2237420)
When you tried to edit the title with phpMyAdmin, have you wrote the it manually? Better copy a text from in.gr which is utf-8 and paste it there. Then check it.

Chris

I copied text from in.gr

no luck on title


All times are GMT. The time now is 01: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.02813 seconds
  • Memory Usage 1,866KB
  • 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
  • (5)bbcode_code_printable
  • (31)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