Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vbBux / vbPlaza
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
eBux / eStore's Future Details »»
eBux / eStore's Future
Version: , by CMX_CMGSCCC CMX_CMGSCCC is offline
Developer Last Online: Sep 2014 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-05-2006 Last Update: Never Installs: 0
 
No support by the author.

I'm sure people have all read about the 'ebux' being Trademarked in the USA & Canada.

First off, let me start off by saying that this really sucks. But it's really my own fault for not researching it before creating eBux / eStore. It will cause a lot of headaches I'm sure in the future.

SO if you have been following the progress at http://www.ps2hits.com/forums/ then you will notice that eStore is no longer in existance. Now before you start to cry, you would also have noticed that vBux / vStore is in place of the old eBux / eStore.

vBux / vStore v1.5.0 is up and running at the above test forums. Now I can not stress the magnitude of the testing thats needed before this version is released out in the wild to the public.

I'm doing everything I can to make it save as MUCH as possible. But there will be some things that you will have to resetup. I have done a lot of the conversion coding already. I must say that the conversion I've done so far is gearing up quite NICELY. I'm proud of the coding for the update, which I can say a lot, I am usually not proud of coding that I make, but it gets the job done normally as well.

I have added a revolutionary change to the forum table that all vB mod coders will take note of. I do not think that this was ever done before, if I am wrong, I apologize. I have added a "bitfield" to the forum table. Yes, just like the <bitfield inside of bitfield_xxx.xml for the Usergroups.

It took 4 plugins to do this and when v1.5.0 is released, we may see other hacks start to use settings like this. So what does this mean to you, the end user?? Instead of eBS using 11 fields inside of the forum table, vBS will only use 4 fields inside of the forum table, aka less data to cache and save. And now that the foundation is layed for this, I could add some more forum options that should make things interesting as well.

The fact is, vB.com could do some modifications to make this more streamlined in the future, check out the following code:

Inside admincp/forum.php
Code:
	foreach ($vbulletin->GPC['forum'] AS $varname => $value)
	{
		if ($varname == 'options')
		{
			foreach ($value AS $key => $val)
			{
				$forumdata->set_bitfield('options', $key, $val);
			}
		}
		else
		{
			$forumdata->set($varname, $value);
		}
	}
This code is inside the block where it checks $_POST['do'] == 'update'. Instead of checking if the varname is equal to options. They should check if the field type is a bitfield type. If they would check if the field was a bitfield and then run ->set_bitfield for the varname found, it would mean 1 less plugin and/or hack has to be done.

SO if you use a bitfield with the current vBulletin 3.5.4, it will save all of the fields as separate variable names. SO I have devised a very small chunk of code to do the following:

Code:
	// process all of the vbsforumoptions
	foreach($vbulletin->GPC['forum']['vbsforumoptions'] AS $key => $val)
	{
		// set this bitfield
		$forumdata->set_bitfield('vbsforumoptions', $key, $val);

		// unset the one set previously by vBulletin
		unset($forumdata->forum['vbsforumoptions'][$key]);
	}
With this, you can see my custom bitfield is named vbsforumoptions, and you will notice it does UNSET the previous one that is set by vBulletin, so it will function properly. vBulletin.com, if you could update that code in forum.php to allow mod makers to use bitfields, that would be great

Even if they do not add this ability in the future, the fact remains that the above code will work and it is fairly optimized.


So the bottom line........

When you see the coding for the new Product XML sheet for vBS. You might look at it and say "its HUGE", but in reality is quite small for a task of this magnitude. I have renamed all of the phrases, all of the template variables, all of the variables/tables/fields inside of the PHP files. Basically any and all reference to ebux/estore have been changed to vbux/vstore and the tables/fields have been changed to vbs_table or vbs_field to better recognize which fields are for use with the new vBS. It's a MUCH better organized system and should allow for much easier to understand core code to build addons for.

I know this post seems a little long winded, but its necessary for me to tell you that when the aftermath settles for vBux / vStore .... everyone will be coming out on TOP.

-CMX

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-05-2006, 10:13 PM
djjeffa's Avatar
djjeffa djjeffa is offline
 
Join Date: Aug 2004
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was thinking of install ebux/estore, do you recomend I wait?
  #3  
Old 03-05-2006, 10:32 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Having to rebrand sucks but thank you very much for continuing to support what has to be one of hte most extensive hacks ever made.
  #4  
Old 03-05-2006, 10:38 PM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, if you wait, you avoid any templates that have to be changed, it should be coming out in the next couple days.

Reeve: Yes, but what else choice did I have? :x

-CMX
  #5  
Old 03-05-2006, 11:19 PM
moonclamp's Avatar
moonclamp moonclamp is offline
 
Join Date: May 2004
Location: London
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm happy with the way mine is running now.

My main worry is that if I upgrade my users will lose points or features they "paid" for.

Would it be worth sticking to the current version because of this, or is there very little chance of this happening?
  #6  
Old 03-06-2006, 12:29 AM
OAndrea OAndrea is offline
 
Join Date: Dec 2005
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am new to Vb and hacking and extensions and all this stuff, but I have to say that this hack has been the best. I am super impressed by how much you have done in so little time. Thanks for all your hard work! The store ROCKS and I am positive the vbux/vstore is going to totally kick booty too!
  #7  
Old 03-06-2006, 12:33 AM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trademarks suck!!!

I am patient with the current ebux.. Take your time and lookin forward to the new one..
  #8  
Old 03-06-2006, 01:31 AM
CMX_CMGSCCC CMX_CMGSCCC is offline
 
Join Date: Sep 2003
Posts: 1,218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx for supporting the cause!!

If you upgrade PROPERLY, you will not lose settings the members have purchased.

The proper will to upgrade will be to first INSTALL vBux / vStore, then Uninstall the old eBux / eStore.

-CMX
  #9  
Old 03-06-2006, 01:49 AM
ImportPassion ImportPassion is offline
 
Join Date: Mar 2002
Location: Gilbert, AZ
Posts: 605
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I REALLY don't think you need to worry about the trademark issue.
  #10  
Old 03-06-2006, 02:16 AM
JsnakeJ JsnakeJ is offline
 
Join Date: Mar 2005
Location: Pennsylvania
Posts: 231
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its not worth the hassle if it does become a problem, thats why hes doing this.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:28 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.10298 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete