vb.org Archive

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

MaryTheG(r)eek 12-28-2009 10:00 PM

microAUCTIONS (Auction Classifieds)
 
*** Link Removed ***

MaryTheG(r)eek 12-29-2009 04:56 PM

You can find a demo at:

http://www.microhellas.com/dev4/auctions.php
Login:
Username: demouser
Password: demopass


Maria

Kolbi 12-29-2009 05:14 PM

Thank you!

Big-Pete 12-29-2009 05:23 PM

Thanks Maria :)

ragtek 12-29-2009 05:34 PM

WOW, very nice, but is it sooo hard to use the actiontemplates?

Also you could just use the pm datamanager instead of
PHP Code:

// Get visitor's data for message to Seller
    
$visitor_get getRecordById("user",$visitorid,"userid");
    
$visitor_username $visitor_get["username"];
    
$vbulletin->db->query_write("INSERT INTO " TABLE_PREFIX "pmtext
                                        SET fromuserid = '
$visitorid',
                                            fromusername = '
$visitor_username',
                                            title = '
$title',
                                            message = '
$bodytext',
                                            touserarray = '',
                                            iconid = '0',
                                            dateline = '
$timenow',
                                            showsignature = '0',
                                            allowsmilie = '1',
                                            reportthreadid = '0'"
);
    
$messageid=$vbulletin->GPC['pmtextid'] = $db->insert_id();
    
$vbulletin->db->query_write("INSERT INTO " TABLE_PREFIX "pm
                                        SET pmtextid = '
$messageid',
                                            userid = '
$sellerid',
                                            folderid = '0',
                                            messageread = '0',
                                            parentpmid = '0'"
);
    
$msguserid=$vbulletin->GPC['pmid'] = $db->insert_id();
    
$vbulletin->db->query_write("UPDATE " TABLE_PREFIX "user SET pmunread=pmunread+1 WHERE userid=$sellerid"); 

I can only write every time: I really like your add-ons(the ideas), but the code is often very horrible

goblues 12-29-2009 05:48 PM

Quote:

Originally Posted by MicroHellas (Post 1941669)
You can modify the code to meet your needs, but you can't share this modification.
Maria

Does mean What I think it means? We can't share any addons for this mod?

pozo 12-29-2009 05:55 PM

Tagged for future use :up:

MaryTheG(r)eek 12-29-2009 06:01 PM

Quote:

Originally Posted by goblues (Post 1941717)
Does mean What I think it means? We can't share any addons for this mod?

You understood perfectly. You can do anything you like for your own use, but that all. Your modifications should be used for your site(s) and just for it.


Maria

MaryTheG(r)eek 12-29-2009 06:14 PM

Quote:

Originally Posted by ragtek (Post 1941706)
WOW, very nice, but is it sooo hard to use the actiontemplates?I can only write every time: I really like your add-ons(the ideas), but the code is often very horrible

Actually I do believe that my code is very smart. That's why my mods are so easy upgradable to all versions.

By the way, a question. By using the datamanager I've to follow permissions rules for messages (eg Receive PMs or not, Ignore lists etc)? I think yes. But this is what I want to avoid. I want to give to those who have turn off PMs to avoid messages from forums, to be able to receive message for their auctions.

In my early days here some users were reporting me because my code was "unsecure". Now you're coming by saying that my code is horrible. My questions are:
  • Is it secure?
  • Does it works as it must work?
  • Is it fast?
I do believe that all answers are YES!!. So, feel free to get my ideas (really I've so many), and let my code out. Finally not all vB users are users with the top websites or with the thousands members. I'm hobbist coder, and I'm posting my mods targeting to hobbists webmasters.

Maria

BlackJacket 12-29-2009 06:22 PM

Definitely something i could use.

Thanks!


All times are GMT. The time now is 12:21 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.01094 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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