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)

vb50kgpoo 09-17-2011 04:00 PM

Quote:

Originally Posted by ChrisTERiS (Post 2247223)
Most probably your usergoup permissions have been messed. Try a trick:
  1. Remove the file bitfields_microclassifieds.xml from your site (vb_installation/includes/xml/)
  2. Login to your admincp
  3. Goto to usergroup pemissions
  4. Click to edit Administrator group
  5. You must see a message "Rebuilding bitfields".
  6. Logout
  7. Upload the file bitfields_microclassifieds.xml from your site (vb_installation/includes/xml/)
  8. Login to your admincp
  9. Click to edit Administrator group
  10. You must see a message "Rebuilding bitfields".
  11. .... Now the microCLASSIFIEDS permission must been updated.
Chris

Chris
Don't think that will work (this is your latest 5.1.5);

<?xml version="1.0" encoding="ISO-8859-1"?>

<bitfields product="microclassifieds">

<bitfielddefs>

<group name="ugp">

<group name="microclassifieds">

<bitfield name="access" group="microclassifieds_permissions" phrase="microclassifieds_access">1</bitfield>

<bitfield name="post" group="microclassifieds_permissions" phrase="microclassifieds_post">2</bitfield>

<bitfield name="approve" group="microclassifieds_permissions" phrase="microclassifieds_approve">4</bitfield>

<bitfield name="autopost" group="microclassifieds_permissions" phrase="microclassifieds_autopost">8</bitfield>

<bitfield name="postowner" group="microclassifieds_permissions" phrase="microclassifieds_postowner">16</bitfield>

<bitfield name="poststore" group="microclassifieds_permissions" phrase="microclassifieds_poststore">32</bitfield>

<bitfield name="moderate" group="microclassifieds_permissions" phrase="microclassifieds_moderate">64</bitfield>

<bitfield name="modcertified" group="microclassifieds_permissions" phrase="microclassifieds_modcertified">128</bitfield>

<bitfield intperm="true" name="mc_maxads" group="microclassifieds_permissions" phrase="microclassifieds_maxads">0</bitfield>

<bitfield intperm="true" name="mc_maxphotos" group="microclassifieds_permissions" phrase="microclassifieds_maxphotos">5</bitfield>

<bitfield intperm="true" name="mc_maxfiles" group="microclassifieds_permissions" phrase="microclassifieds_maxfiles">5</bitfield>

<bitfield intperm="true" name="mc_priority" group="microclassifieds_permissions" phrase="microclassifieds_priority">99</bitfield>

</group>

</group>

</bitfielddefs>

</bitfields>

Christos Teriakis 09-17-2011 04:01 PM

Quote:

Originally Posted by qpurser (Post 2247228)
This one works but of course it is the older one and probably the reported bugs are not solved?

The CSS in the users profile is messed up again but the one MaineGuy posted should fix this issue

I have fixed it in 5.1.6 ... in any case.... as vB templating is crazy, can you try again the 5.1.6 file? Sometimes (happen to me), even if the error has been corrected, it stay there in the old error.

maineGuy72 09-17-2011 04:02 PM

hey chris i narrowed it down to 2 templates
the microclassifieds_profile_sold_ads and microclassifieds_profile_bought_ads if i see something i will let you know

Christos Teriakis 09-17-2011 04:05 PM

Quote:

Originally Posted by Antique-Swords (Post 2247230)
Chris
Don't think that will work (this is your latest 5.1.5);

Wrong... This is the content. I just copied from the zip file:
Code:

<?xml version="1.0" encoding="ISO-8859-1"?>
<bitfields product="microclassifieds">
        <bitfielddefs>
                <group name="ugp">
                        <group name="microclassifieds">
                                <bitfield name="access" group="microclassifieds_permissions" phrase="microclassifieds_access">1</bitfield>
                <bitfield name="buy" group="microclassifieds_permissions" phrase="microclassifieds_buy">2</bitfield>
                <bitfield name="post" group="microclassifieds_permissions" phrase="microclassifieds_post">4</bitfield>
                <bitfield name="postduration" group="microclassifieds_permissions" phrase="microclassifieds_postduration">8</bitfield>
                <bitfield name="editduration" group="microclassifieds_permissions" phrase="microclassifieds_editduration">16</bitfield>
                <bitfield name="approve" group="microclassifieds_permissions" phrase="microclassifieds_approve">32</bitfield>
                <bitfield name="autopost" group="microclassifieds_permissions" phrase="microclassifieds_autopost">64</bitfield>
                <bitfield name="postowner" group="microclassifieds_permissions" phrase="microclassifieds_postowner">128</bitfield>
                <bitfield name="poststore" group="microclassifieds_permissions" phrase="microclassifieds_poststore">256</bitfield>
                <bitfield name="moderate" group="microclassifieds_permissions" phrase="microclassifieds_moderate">512</bitfield>
                <bitfield intperm="true" name="mc_maxads" group="microclassifieds_permissions" phrase="microclassifieds_maxads">1</bitfield>
                <bitfield intperm="true" name="mc_maxphotos" group="microclassifieds_permissions" phrase="microclassifieds_maxphotos">5</bitfield>
                <bitfield intperm="true" name="mc_maxfiles" group="microclassifieds_permissions" phrase="microclassifieds_maxfiles">5</bitfield>
                <bitfield intperm="true" name="mc_max1dur" group="microclassifieds_permissions" phrase="microclassifieds_max1dur">30</bitfield>
                <bitfield intperm="true" name="mc_max2dur" group="microclassifieds_permissions" phrase="microclassifieds_max2dur">60</bitfield>
                <bitfield intperm="true" name="mc_max3dur" group="microclassifieds_permissions" phrase="microclassifieds_max3dur">15</bitfield>
                <bitfield intperm="true" name="mc_priority" group="microclassifieds_permissions" phrase="microclassifieds_priority">99</bitfield>
                        </group>
                </group>
        </bitfielddefs>
</bitfields>

max1dur, max2dur.... are missing from you. Maybe your unzip utility in not working well. I'm attaching the file. Please note that these changes, made lot of versions ago.

Chris

Christos Teriakis 09-17-2011 04:07 PM

I got a bit stressed... sorry I'll go to get a shower and be back soon.

Chris

qpurser 09-17-2011 04:10 PM

Quote:

Originally Posted by ChrisTERiS (Post 2247231)
I have fixed it in 5.1.6 ... in any case.... as vB templating is crazy, can you try again the 5.1.6 file? Sometimes (happen to me), even if the error has been corrected, it stay there in the old error.

I tried again the 5.1.6 from #1123
Still the same error

No worries..Take you time.
A shower might help to clear your mind...:)

mgcom 09-17-2011 04:12 PM

Quote:

Originally Posted by ChrisTERiS (Post 2247236)
I got a bit stressed... sorry I'll go to get a shower and be back soon.

Chris

thanks for your time mate, no pressure :D

Christos Teriakis 09-17-2011 04:45 PM

I don't believe it ... dozens of error pages for a vb:row insteal vb:raw :o

The correct file is here, and soon I'll re-upload the zip file.

Chris

WEBDosser 09-17-2011 04:52 PM

that works.. thanks :)

qpurser 09-17-2011 04:55 PM

Quote:

Originally Posted by WEBDosser (Post 2247247)
that works.. thanks :)

The import works
BUT

when I click on the avatar where it says TOP sellers etc...
and also when I try to go to "my profile"

I get this error:

Database error in vBulletin 4.1.5:

Invalid SQL:
SELECT * FROM microclassifieds_orders WHERE sellerid= ORDER BY selldate DESC;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY selldate DESC' at line 1
Error Number : 1064
Request Date : Saturday, September 17th 2011 @ 12:54:00 PM
Error Date : Saturday, September 17th 2011 @ 12:54:01 PM
Script : http://komet.urljet.com/~tcmasorg/fo...ab=classifieds
Referrer : http://komet.urljet.com/~tcmasorg/fo...lassifieds.php
IP Address : 98.240.153.128
Username : MAXreefer
Classname : vB_Database
MySQL Version : 5.0.92-community-log


All times are GMT. The time now is 05:08 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.02678 seconds
  • Memory Usage 1,766KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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