Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #41  
Old 07-11-2005, 06:57 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Common courtesy to give people all the info before you get them excited though
Hmm.. Maybe. But if do so, I will not get a clean feedback that was not marked by "I gotta pay for this" emotions

Quote:
No problem I should warn you though, most people will hack that out, so you should either Zend or IonCube some of the core functions of the hack along with the call home function. Granted, you will sell less because either will require either Zend installed or Safe Mode disabled, but at least no-one will be using the script without you knowing it
I know. That's why I am not going to do it

Quote:
Yet that didn't stop me from releasing the RPG for free, and keep doing so. I have spent close to a full year on the RPG by now. Granted, I haven't spent 24/7 on it, but still a fair amount of my time.
Quote:
You probably don't know it, but you are talking to a perfectionist.
Nope, I did not know it. Good. Me too. I was actually speaking of an average coder, who does not have a lot of time to waste If I was like that, I would be making html manuals by hand. However, IMO, it takes too much time - more than it would take to write the hack itself..
Reply With Quote
  #42  
Old 07-11-2005, 07:09 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
Then what made you release it for free?
The fact that there's already 2 paid RPGs out there, neither of which IMO is worth the price tag they have.
Quote:
Originally Posted by Dark Visor
Hmm.. Maybe. But if do so, I will not get a clean feedback that was not marked by "I gotta pay for this" emotions
True, but you would save having your stuff being called anal when you do reveal it
Quote:
Originally Posted by Dark Visor
Nope, I did not know it. Good. Me too. I was actually speaking of an average coder, who does not have a lot of time to waste If I was like that, I would be making html manuals by hand. However, IMO, it takes too much time - more than it would take to write the hack itself..
Making templates ain't that hard, really Here, I'll show you an example of a template I have:
Code:
// ##################### DEFINE IMPORTANT CONSTANTS ##########################
$script_version = ;


// ########################################################################
// ######################### START MAIN SCRIPT ############################
// ########################################################################

if ($current_version < $script_version)
{
	if ($DO_UPGRADE_SETTINGS === true)
	{
	}
	if ($DO_UPGRADE_TEMPLATES === true)
	{
	}
	if ($DO_UPGRADE_PHRASES === true)
	{
		print_description_row('Skipped Phrasegroup: <b><i>' . HACK_NAME . '</i></b>');
	}	
	if ($DO_UPGRADE_QUERIES === true)
	{
		print_description_row('<center>Updating tables......</center>');	
		print_description_row('<center>All tables updated OK.</center>');
	}
	if ($DO_UPGRADE_DONE === true)
	{
		$vbulletin->db->query_write("
			UPDATE `" . TABLE_PREFIX . "setting` SET
				value = '" . intval($script_version) . "',
				defaultvalue = '" . intval($script_version) . "'
			WHERE varname = '" . addslashes('rpg_versionnumber') . "'
		");
		print_description_row('Updated Setting: <b><i>Version Number</i></b>');
	}
}
(Header/footer comments omitted).
This is a template upgrade file for my RPG. Whenever I make a new version number, I simply add the 4 digit version number to the first var, then place my queries whever they are supposed to be.
The same can be done with HTML manual templates. I can have one snippet of code for each possible part of the installer, be it adding templates etc, then simply copypaste them x times according to how many steps I have, and delete the ambiguous stuff.
Unless you used ghey nesting of tables, this is hassle-free
I do the same for my phrases XML file. I make "blank" phrases, and simply fill out varname/text, then cut and paste it under the correct section
Takes very little time, and is very much free XD

PS: I dloaded your manual, and I didn't like the colour scheme much, sorry
I suggest you have settings a-la vBOptions where you allow users to define their own hex code for stuff like bgcolor, table head and table cat classes, etc. This can be either a global vboption stored set, or per-manual definition.
This way, not all manuals are too "default"
Reply With Quote
  #43  
Old 07-11-2005, 07:32 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Unless you used ghey nesting of tables, this is hassle-free
Source is not encoded... Duh.
What you showed me is PHP script, not a HTML template...

Quote:
PS: I dloaded your manual, and I didn't like the colour scheme much, sorry
It has a CSS file which can be edited. So are the templates which are stored separately from the script.
Reply With Quote
  #44  
Old 07-11-2005, 07:36 PM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dark Visor
Source is not encoded... Duh.
What you showed me is PHP script, not a HTML template....
Hence the part of my post you quoted: The same tactic can be applied to HTML manuals, unless you used some tricky nested tables that would make copy/pasting difficult.
Reply With Quote
  #45  
Old 07-11-2005, 07:52 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh, I see.
Reply With Quote
Reply


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 10:03 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.07432 seconds
  • Memory Usage 2,215KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (10)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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