Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ecRelease Details »»
ecRelease
Version: 1.00, by Ron1n Ron1n is offline
Developer Last Online: Jun 2008 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 12-31-2005 Last Update: 12-31-2005 Installs: 20
DB Changes Uses Plugins Template Edits
Code Changes Additional Files Is in Beta Stage  
No support by the author.

ecRelease is a BETA - stuff will go wrong

What is ecRelease?

It is a download database that integrates into vBulletin. It is very similar to the vBulletin.org download database (in concept) and can be found in action on www.elitecoders.org. It allows you to turn any thread in any forum into a release that will show up in the download section. Adding a release is similar to adding a poll.

Demo

overview - http://www.elitecoders.org/forum/showthread.php?p=69253
download database - http://www.elitecoders.org/forum/downloads.php
release thread - http://www.elitecoders.org/forum/showthread.php?p=67325

Known Bugs:

- Possible bug: When you submit, it wants to include a poll even though the poll is not checked
- Possible bug: MySQL error on attachment download

FAQ:

Q: Fatal error: Field releaseid is not defined in $validfields in class vb_datamanager_thread in /includes/class_dm.php on line 485
A: Perform the file edit via install.php or manually
Q: The drop down box for Release Categories is not a drop down
A: They should be separated by semicolons, not commas.

Here are my plans for future versions:

- Set "per forum" releases (depends on support)

Phrase Changes

(many are added automatically)

Template Changes

SHOWTHREAD
newpost
(many are added automatically)

File Changes

includes/class_dm_threadpost.php (can be done automatically or manually)

Install

Upload the contents of 'upload' to your forum directory
Import ecrelease.xml into your PRODUCTS by going to Plugin System -> Manage Products -> Add/Import Product
Perform the edits in edits.txt (templates)
Upload install.php to perform the 1 file edit, make sure you chmod +writeable

Time: 3-4 minutes

Upgrade

You can make all changes automatically by importing the XML or you can do things piece by piece by looking at the info files provided with the hack.

Giving Back

Have you installed this mod? Click install.
Do you like this mod? Rate me 5/5.
Do you want to donate? Go to www.unicef.org and be generous!

Show Your Support

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

Comments
  #22  
Old 01-01-2006, 03:31 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here ya go...im sure its right though :ermm:

Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	$headinclude
	<title>$thread[title]<if condition="$pagenumber>1"> - <phrase 1="$pagenumber">$vbphrase[page_x]</phrase></if> - $vboptions[bbtitle]</title>
</head>
<body onload="$onload">
$header
$navbar
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>

<td class="tcat"><span class="smallfont"><b><center>Thread Informations</center></b></span></td></tr>

<tr valign="middle"><td class="alt1">
<br />
<center><h3>$thread[title]</h3>
<h4>$vbphrase[views] : $thread[views]</h2>
<b>$vbphrase[replies] : $thread[replycount]</b><br /><br />
<b>Users Viewing This Thread : $activeusers</b></center>
</td>
</tr>
</table>
<br />
$poll
$vbookie_event
$release
<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>

<a name="poststop" id="poststop"></a>

<!-- controls above postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-bottom:3px">
<tr valign="bottom">
	<if condition="$show['largereplybutton']">
		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$FIRSTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
	<else />
		<td class="smallfont">&nbsp;</td>
	</if>
	<if condition="$show['pagenav']"><td align="$stylevar[right]">$pagenav</td></if>
</tr>
</table>
<!-- / controls above postbits -->

<!-- toolbar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
<tr>
	<td class="tcat" width="100%">
		<div class="smallfont">
		<if condition="$show['firstunreadlink']">
			<a href="$firstunread"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[view_first_unread]" border="0" /></a>
			<a href="$firstunread"><strong>$vbphrase[view_first_unread]</strong></a>
		</if>
		&nbsp;
		</div>
	</td>
	<td class="vbmenu_control" id="threadtools" nowrap="nowrap">
		<a href="$show[nojs_link]#goto_threadtools"<if condition="is_browser('ie')"> accesskey="3"</if>>$vbphrase[thread_tools]</a>
		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadtools"); </script></if>
	</td>
	<if condition="$show['search']">
		<td class="vbmenu_control" id="threadsearch" nowrap="nowrap">
			<a href="$show[nojs_link]#goto_threadsearch">$vbphrase[search_this_thread]</a>
			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadsearch"); </script></if>
		</td>
	</if>
	<if condition="$show['threadrating']">
		<td class="vbmenu_control" id="threadrating" nowrap="nowrap">
			<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$thread[rating].gif" alt="<phrase 1="$thread[votenum]" 2="$thread[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" border="0" /><else />$vbphrase[rate_thread]</if></a>
			<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("threadrating"); </script></if>
		</td>
	</if>
	<if condition="$vboptions['allowthreadedmode']">
	<td class="vbmenu_control" id="displaymodes" nowrap="nowrap">
		<a href="$show[nojs_link]#goto_displaymodes">$vbphrase[display_modes]</a>
		<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("displaymodes"); </script></if>
	</td>
	</if>
	
	<if condition="$show['inlinemod']">
		<if condition="$show['popups']">
			<td class="vbmenu_control" id="imod" align="center" title="$vbphrase[moderation]"><script type="text/javascript"> vbmenu_register('imod'); </script></td>
		<else />
			<td class="thead" align="center">
				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
			</td>
		</if>
	</if>
	
</tr>
</table>
<!-- / toolbar -->

<if condition="$show['inlinemod'] AND $show['popups']">
	<div class="vbmenu_popup" id="imod_menu" style="display:none" align="$stylevar[left]">
		$threadadmin_imod_menu_post
	</div>
</if>

<!-- end content table -->
$spacer_close
<!-- / end content table -->

<if condition="$show['threadedmode'] OR $show['hybridmode']">
<!-- thread posts list -->
$threadlist
<!-- /thread posts list -->
</if>

<div id="posts">$postbits<div id="lastpost"></div></div>

<!-- start content table -->
$spacer_open
<!-- / start content table -->

<!-- controls below postbits -->
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr valign="top">
	<if condition="$show['largereplybutton']">
		<td class="smallfont"><a href="newreply.php?$session[sessionurl]do=newreply&amp;noquote=1&amp;p=$LASTPOSTID" rel="nofollow"><if condition="$show['closethread']"><img src="$stylevar[imgdir_button]/reply.gif" alt="$vbphrase[reply]" border="0" /><else /><img src="$stylevar[imgdir_button]/threadclosed.gif" alt="$vbphrase[closed_thread]" border="0" /></if></a></td>
	<else />
		<td class="smallfont">&nbsp;</td>
	</if>	
	<if condition="$show['pagenav'] OR $show['inlinemod']">
		<td align="$stylevar[right]">$pagenav
		<if condition="$show['inlinemod']">
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap; float:$stylevar[right]">
			<if condition="$show['pagenav']"><br /></if><strong>$vbphrase[moderation]</strong><br />
			<select name="do">
				<optgroup label="$vbphrase[option]">
					<if condition="$show['managethread']">
					<option value="mergeposts">$vbphrase[merge_posts]</option>
					<option value="moveposts">$vbphrase[move_posts]</option>
					</if>
					<if condition="$show['managepost']">
					<option value="deleteposts">$vbphrase[delete_posts]</option>
					<option value="undeleteposts">$vbphrase[undelete_posts]</option>
					</if>
					<if condition="$show['approvepost']">
					<option value="approveposts">$vbphrase[approve_posts]</option>
					<option value="unapproveposts">$vbphrase[unapprove_posts]</option>
					</if>
					<if condition="$show['approveattachment']">
					<option value="approveattachments">$vbphrase[approve_attachments]</option>
					<option value="unapproveattachments">$vbphrase[unapprove_attachments]</option>
					</if>
				</optgroup>
				<optgroup label="____________________">
					<option value="clearpost">$vbphrase[clear_post_list]</option>
				</optgroup>
			</select><input type="submit" class="button" id="inlinego" value="$vbphrase[go]" />
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="threadid" value="$threadinfo[threadid]" />
			<input type="hidden" name="p" value="$postid" />
			<input type="hidden" name="url" value="$url" />
			</div>
			<script type="text/javascript" src="clientscript/vbulletin_inlinemod.js"></script>
			<script type="text/javascript">
			<!--
			inlineMod = new vB_Inline_Mod('inlineMod', 'post', 'inlinemodform', '$vbphrase[go_x]');
			//-->
			</script>
		</if>				
		</td>
	</if>
</tr>
</table>
<!-- / controls below postbits -->

<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if>

<if condition="!$show['search_engine']">
<br />

<div class="smallfont" align="center">
	<strong>&laquo;</strong>
		<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextoldest">$vbphrase[prev_thread]</a>
		|
		<a href="showthread.php?$session[sessionurl]t=$threadid&amp;goto=nextnewest">$vbphrase[next_thread]</a>
	<strong>&raquo;</strong>
</div>
</if>

<br />













<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
<tr>
	<td class="thead">
		<span style="float:$stylevar[right]"><input type="button" class="button" value=" X " onclick="vB_QuickEditor.hide_errors()" unselectable="true" /></span>
		$vbphrase[vbulletin_message]
	</td>
</tr>
<tr>
	<td class="alt2" colspan="2" id="ajax_post_errors_message">&nbsp;</td>
</tr>
<tr>
	<td class="tfoot" colspan="2" align="center"><a href="#" onclick="vB_QuickEditor.abort(); return false;">$vbphrase[cancel_changes]</a></td>
</tr>
</table>
<!-- / ajax errors table -->

<!-- scripts for quick reply and quick edit -->
$vBeditTemplate[clientscript]
<if condition="$show['quickedit']">
<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js"></script>
<script type="text/javascript">
<!--
vB_AJAX_QuickEdit_Init('posts');
//-->
</script>
</if>
<!-- / scripts for quick reply and quick edit -->
</if>


<if condition="$show['quickreply']">
<!-- quick reply -->
<form action="newreply.php" method="post" name="vbform" onsubmit="return qr_prepare_submit(this, $vboptions[postminchars]);" id="qrform">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="2">
			<if condition="$show['quickreply_collapse']"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('quickreply');"><img id="collapseimg_quickreply" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_quickreply].gif" alt="" border="0" /></a></if>
			$vbphrase[quick_reply]
		</td>
	</tr>
</thead>
<tbody id="qr_error_tbody" style="display:none">
<tr>
	<td class="thead">$vbphrase[errors_occured_when_submitted]</td>
</tr>
<tr>
	<td class="alt1" id="qr_error_td"></td>
</tr>
<tr>
	<td class="tfoot" align="center"><span class="smallfont"><a href="#" onclick="return qr_hide_errors()">$vbphrase[okay]</a></span></td>
</tr>
</tbody>
<tbody id="collapseobj_quickreply" style="$vbcollapse[collapseobj_quickreply]">
<tr>
	<td class="panelsurround" align="center">
		<div class="panel">	
			<table cellpadding="0" cellspacing="0" border="0" align="center">
			<tr>
				<td class="smallfont" align="$stylevar[left]">$vbphrase[message]:</td>
			</tr>
			<tr>
				<td id="$editorid" class="vBulletin_editor" align="$stylevar[left]">$messagearea</td>
			</tr>
			<tr>
				<td align="$stylevar[left]">
				
					<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
						<legend>$vbphrase[options]</legend>
						<div>
							<if condition="$bbuserinfo['signature']">
								<div style="float:$stylevar[right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
							</if>
							<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
						</div>
					</fieldset>
				
				</td>
			</tr>
			</table>
		</div>	

		<div style="margin-top:$stylevar[cellpadding]px">
			<input type="hidden" name="fromquickreply" value="1" />
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="do" value="postreply" />
			<input type="hidden" name="t" value="$threadid" id="qr_threadid" />
			<input type="hidden" name="p" value="$qrpostid" id="qr_postid" />
			<input type="hidden" name="parseurl" value="1" />
			<input type="submit" class="button" value="$vbphrase[post_quick_reply]" accesskey="s" title="(Alt + S)" name="sbutton" tabindex="2" id="qr_submit" onclick="clickedelm = this.value" />
			<input type="submit" class="button" value="$vbphrase[go_advanced]" accesskey="x" title="(Alt + X)" name="preview" tabindex="3" id="qr_preview" onclick="clickedelm = this.value" />
		</div>

		<div align="center" id="qr_posting_msg" style="display:none; margin-top:6px">
			<strong>$vbphrase[posting_quick_reply_please_wait]</strong>
		</div>	
	</td>
</tr>
</tbody>
</table>
</form>

<if condition="!is_browser('ie') AND $show['wysiwyg']">
	<!-- Mozilla work around for focusing on QR in WYSIWYG mode -->
	<div id="qr_scroll"></div>
</if>

<br />

<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js"></script>
<!-- end quick reply -->
</if>

<!-- currently active users -->
<if condition="$show['activeusers']">
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat" colspan="2">
			<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
		</td>
	</tr>
	<tr>
		<td class="alt1" colspan="2">
			<span class="smallfont">$activeusers</span>
		</td>
	</tr>
	</table>
</if>
<!-- end currently active users -->
<!-- who viewed this thread -->
	<br />
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat" colspan="2">
			$vbphrase[already_viewed_this_thread]
		</td>
	</tr>
	<tr>
		<td class="alt1" colspan="2">
			<span class="smallfont">$thread[viewers]</span>
		</td>
	</tr>
	</table>
<!-- who viewed this thread -->
<if condition="$show['popups']">
<!-- popup menu contents -->
<br />

<!-- thread tools menu -->
<div class="vbmenu_popup" id="threadtools_menu" style="display:none">
<form action="postings.php" method="post" name="threadadminform">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="3" rel="nofollow">$vbphrase[show_printable_version]</a></td>
	</tr>
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></td>
	</tr>
	<if condition="$show['member']">
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" />
		<if condition="$show['subscribed']">
			<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid" rel="nofollow">$vbphrase[unsubscribe_from_this_thread]</a>
		<else />
			<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid" rel="nofollow">$vbphrase[subscribe_to_this_thread]</a>
		</if>
		</td>
	</tr>
	</if>
	<if condition="$show['addpoll']">
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></td>
	</tr>
	</if>
	<if condition="$show['addrelease']">
	<tr>
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_release]" /> <a href="release.php?$session[sessionurl]do=newrelease&amp;t=$threadinfo[threadid]">$vbphrase[add_a_release_to_this_thread]</a></td>
	</tr>
	</if>
	<if condition="$show['adminoptions']">
	<tr>
		<td class="thead">$vbphrase[admin_tools]<a name="goto_threadadmin"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
		<if condition="$show['openclose']"><div><label for="ao_oct"><input type="radio" name="do" id="ao_oct" value="openclosethread" checked="checked" /><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></label></div></if>
		<if condition="$show['movethread']"><div><label for="ao_mvt"><input type="radio" name="do" id="ao_mvt" value="movethread" />$vbphrase[move_copy_thread]</label></div></if>
		<if condition="$show['editthread']"><div><label for="ao_edt"><input type="radio" name="do" id="ao_edt" value="editthread" />$vbphrase[edit_thread]</label></div></if>
		<if condition="$show['deletethread']"><div><label for="ao_dlt"><input type="radio" name="do" id="ao_dlt" value="deletethread" />$vbphrase[delete_thread]</label></div></if>
		<if condition="$show['managethread']">
			<div><label for="ao_sut"><input type="radio" name="do" id="ao_sut" value="stick" /><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></label></div>
			<div><label for="ao_mgt"><input type="radio" name="do" id="ao_mgt" value="mergethread" />$vbphrase[merge_threads]</label></div>
			<!--<div><label for="ao_spt"><input type="radio" name="do" id="ao_spt" value="splitthread" />$vbphrase[split_thread]</label></div>-->
			<div><label for="ao_rrd"><input type="radio" name="do" id="ao_rrd" value="removeredirect" />$vbphrase[remove_redirects]</label></div>
		</if>
		<if condition="$show['editpoll']"><div><label for="ao_edp"><input type="radio" name="do" id="ao_edp" value="editpoll" />$vbphrase[edit_poll]</label></div></if>
<if condition="$show['editrelease']"><div><label for="ao_edr"><input type="radio" name="do" id="ao_edr" value="editrelease" />$vbphrase[edit_release]</label></div></if>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite" align="center">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="t" value="$threadid" />
			<input type="hidden" name="released" value="$releaseid" />
			<input type="hidden" name="pollid" value="$pollid" />
			<input type="submit" class="button" value="$vbphrase[perform_action]" />
		</td>
	</tr>
	</if>
	</table>
</form>
</div>
<!-- / thread tools menu -->
<if condition="$vboptions['allowthreadedmode']">
<!-- **************************************************** -->

<!-- thread display mode menu -->
<div class="vbmenu_popup" id="displaymodes_menu" style="display:none">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[display_modes]<a name="goto_displaymodes"></a></td>
	</tr>
	<tr>
	<if condition="$show['linearmode']">
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <strong>$vbphrase[linear_mode]</strong></td>
	<else />
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></td>
	</if>
	</tr>
	<tr>
	<if condition="$show['hybridmode']">
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <strong>$vbphrase[hybrid_mode]</strong></td>
	<else />
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" /> <a href="showthread.php?$session[sessionurl]mode=hybrid&amp;t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></td>
	</if>
	</tr>
	<tr>
	<if condition="$show['threadedmode']">
		<td class="vbmenu_option" title="nohilite"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <strong>$vbphrase[threaded_mode]</strong></td>
	<else />
		<td class="vbmenu_option"><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" /> <a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></td>
	</if>
	</tr>
	</table>
</div>
<!-- / thread display mode menu -->
</if>
<!-- **************************************************** -->

<if condition="$show['search']">
<!-- thread search menu -->
<div class="vbmenu_popup" id="threadsearch_menu" style="display:none">
<form action="search.php" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite">
			<input type="hidden" name="s" value="$session[sessionhash]" />
			<input type="hidden" name="do" value="process" />
			<input type="hidden" name="searchthread" value="1" />
			<input type="hidden" name="showposts" value="1" />
			<input type="hidden" name="searchthreadid" value="$threadid" />
			<input type="text" class="bginput" name="query" size="20" />$gobutton<br />
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a></td>
	</tr>
	</table>
</form>
</div>
<!-- / thread search menu -->
</if>

<!-- **************************************************** -->

<!-- thread rating menu -->
<div class="vbmenu_popup" id="threadrating_menu" style="display:none">
<form action="threadrate.php" method="post">
	<table cellpadding="4" cellspacing="1" border="0">
	<tr>
		<td class="thead">$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td>
	</tr>
	<if condition="$show['ratethread']">
	<tr>
		<td class="vbmenu_option" title="nohilite">
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" alt="$vbphrase[excellent]" /><label for="vote5"><input type="radio" name="vote" id="vote5" value="5" $votechecked[5] />$vbphrase[excellent]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" alt="$vbphrase[good]" /><label for="vote4"><input type="radio" name="vote" id="vote4" value="4" $votechecked[4] />$vbphrase[good]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" alt="$vbphrase[average]" /><label for="vote3"><input type="radio" name="vote" id="vote3" value="3" $votechecked[3] />$vbphrase[average]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" alt="$vbphrase[bad]" /><label for="vote2"><input type="radio" name="vote" id="vote2" value="2" $votechecked[2] />$vbphrase[bad]</label></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" alt="$vbphrase[terrible]" /><label for="vote1"><input type="radio" name="vote" id="vote1" value="1" $votechecked[1] />$vbphrase[terrible]</label></div>
		</td>
	</tr>
	<tr>
		<td class="vbmenu_option" title="nohilite" align="center">
			<input type="hidden" name="s" value="$session[dbsessionhash]" />
			<input type="hidden" name="t" value="$threadid" />
			<input type="hidden" name="pp" value="$perpage" />
			<input type="hidden" name="page" value="$pagenumber" />
			<input type="submit" class="button" value="$vbphrase[vote_now]" />
		</td>
	</tr>
	<else />
	<tr>
		<td>$vbphrase[already_rated_this_thread]</td>
	</tr>
	</if>
	</table>
</form>
</div>
<!-- / thread rating menu -->


<!-- / popup menu contents -->
<else />
<!-- controls for non-popup browsers -->


<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-top-width:0px">
<tr>
	<td class="thead" <if condition="!$show['search']">colspan="2"</if>>$vbphrase[thread_tools]<a name="goto_threadtools"></a></td>
	<if condition="$show['search']"><td class="thead">$vbphrase[search_this_thread]<a name="goto_threadsearch"></a></td></if>
</tr>
<tr valign="top">
	<td class="alt1" <if condition="!$show['search']">colspan="2"</if>>
	
	<!-- thread tools -->
	<div class="smallfont">
		<if condition="!$show['search_engine']">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/printer.gif" alt="$vbphrase[show_printable_version]" vspace="1" /> <a href="printthread.php?$session[sessionurl]t=$threadid" accesskey="p" rel="nofollow">$vbphrase[show_printable_version]</a></div>
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/sendtofriend.gif" alt="$vbphrase[email_this_page]" vspace="1" /> <a href="sendmessage.php?$session[sessionurl]do=sendtofriend&amp;t=$threadid" rel="nofollow">$vbphrase[email_this_page]</a></div>
		</if>
		<if condition="$show['member']">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/subscribe.gif" alt="$vbphrase[subscription]" vspace="1" />
				<if condition="$show['subscribed']">
					<a href="subscription.php?$session[sessionurl]do=removesubscription&amp;t=$threadid">$vbphrase[unsubscribe_from_this_thread]</a>
				<else />
					<a href="subscription.php?$session[sessionurl]do=addsubscription&amp;t=$threadid">$vbphrase[subscribe_to_this_thread]</a>
				</if>
			</div>
		</if>
		<if condition="$show['addpoll']">
			<div><img class="inlineimg" src="$stylevar[imgdir_button]/addpoll.gif" alt="$vbphrase[add_a_poll]" vspace="1" /> <a href="poll.php?$session[sessionurl]do=newpoll&amp;t=$threadinfo[threadid]">$vbphrase[add_a_poll_to_this_thread]</a></div>
		</if>
	</div>
	<!-- / thread tools -->
	
	</td>
	<if condition="$show['search']">
	<td class="alt1">
	
	<!-- search this thread -->
	<form action="search.php" method="post">
	<div class="smallfont">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="do" value="process" />
		<input type="hidden" name="searchthread" value="1" />
		<input type="hidden" name="showposts" value="1" />
		<input type="hidden" name="searchthreadid" value="$threadid" />
		<strong>$vbphrase[search_this_thread]</strong>:<br />
		<input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br />
		<a href="search.php$session[sessionurl_q]">$vbphrase[advanced_search]</a>
	</div>
	</form>
	<!-- /  search this thread -->
	
	</td>
	</if>
</tr>
<if condition="$vboptions['allowthreadedmode'] OR $show['threadrating']">
<tr>
	<if condition="$vboptions['allowthreadedmode']"><td class="thead" $nodhtmlcolspan>$vbphrase[display_modes]<a name="goto_displaymodes"></a></td></if>
	<if condition="$show['threadrating']"><td class="thead" $nodhtmlcolspan>$vbphrase[rate_this_thread]<a name="goto_threadrating"></a></td></if>
</tr>
<tr valign="top">
	<if condition="$vboptions['allowthreadedmode']">
	<td class="alt2" $nodhtmlcolspan>
	
	<!-- thread display modes -->
	
	<div class="smallfont">
		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_linear.gif" alt="$vbphrase[linear_mode]" vspace="1" /> <if condition="$show['linearmode']"><strong>$vbphrase[linear_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=linear$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_linear_mode]</a></if></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_hybrid.gif" alt="$vbphrase[hybrid_mode]" vspace="1" /> <if condition="$show['hybridmode']"><strong>$vbphrase[hybrid_mode]</strong><else /><a href="showthread.php?$session[sessionurl]mode=hybrid&amp;t=$thread[threadid]$highlightwords">$vbphrase[switch_to_hybrid_mode]</a></if></div>
		<div><img class="inlineimg" src="$stylevar[imgdir_button]/mode_threaded.gif" alt="$vbphrase[threaded_mode]" vspace="1" /> <if condition="$show['threadedmode']"><strong>$vbphrase[threaded_mode]</strong><else /><a href="showthread.php?$session[sessionurl]p=$FIRSTPOSTID&amp;mode=threaded$highlightwords#post$FIRSTPOSTID">$vbphrase[switch_to_threaded_mode]</a></if></div>
	</div>
	
	<!-- / thread display modes -->
	
	</td>
	</if>
	<if condition="$show['threadrating']">
	<td class="alt2" $nodhtmlcolspan>
	
	<!-- rate this thread -->
	<form action="threadrate.php" method="post">
	<div class="smallfont">
		<input type="hidden" name="s" value="$session[dbsessionhash]" />
		<input type="hidden" name="t" value="$threadid" />
		<input type="hidden" name="pp" value="$perpage" />
		<input type="hidden" name="page" value="$pagenumber" />
		<strong>$vbphrase[rate_this_thread]</strong>:<br />
		<select name="vote" onchange="this.form.submit()" style="width:175px">
			<optgroup label="$vbphrase[choose_a_rating]">
				<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
				<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
				<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
				<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
				<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
			</optgroup>
		</select>$gobutton
	</div>
	</form>
	<!-- / rate this thread -->
	
	</td>
	</if>
</tr>
</if>
</table>
<br />


<!-- / controls for non-popup browsers -->
</if>

<!-- forum rules and admin links -->
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr valign="bottom">
	<td class="smallfont" align="$stylevar[left]">
		$forumrules
	</td>
	<td class="smallfont" align="$stylevar[right]">
		<table cellpadding="0" cellspacing="0" border="0">
		<if condition="!$show['popups'] AND $show['adminoptions']">
		<tr>
			<td>
			<div class="smallfont" style="text-align:$stylevar[left]; white-space:nowrap">
			<form action="postings.php" method="post" name="adminoptionsform">
			<input type="hidden" name="s" value="$session[sessionhash]" />

			<input type="hidden" name="t" value="$threadid" />
			<strong>$vbphrase[admin_tools]</strong>:<br />
			<select name="do" onchange="this.form.submit()">
				<optgroup label="$vbphrase[thread_admin_tools]">
					<if condition="$show['openclose']"><option value="openclosethread" selected="selected"><if condition="$show['closethread']">$vbphrase[close_thread]<else />$vbphrase[open_thread]</if></option></if>
					<if condition="$show['editthread']"><option value="editthread">$vbphrase[edit_thread]</option></if>
					<if condition="$show['deletethread']"><option value="deletethread">$vbphrase[delete_thread]</option></if>
					<if condition="$show['movethread']"><option value="movethread">$vbphrase[move_copy_thread]</option></if>
					<if condition="$show['managethread']">
						<option value="stick"><if condition="$show['unstick']">$vbphrase[unstick_thread]<else />$vbphrase[stick_thread]</if></option>
						<option value="mergethread">$vbphrase[merge_threads]</option>
						<!--<option value="splitthread">$vbphrase[split_thread]</option>-->
						<option value="removeredirect">$vbphrase[remove_redirects]</option>
					</if>
					<if condition="$show['editpoll']"><option value="editpoll">$vbphrase[edit_poll]</option></if>
					<if condition="$show['editrelease']"><option value="editrelease">$vbphrase[edit_release]</option></if>
				</optgroup>
			</select>$gobutton
			</form>
			</div>
			</td>
		</tr>
		<br />
		</if>
		<tr>
			<td>
			$forumjump
			</td>
		</tr>		
		</table>
	</td>
</tr>
</table>
<!-- /forum rules and admin links -->

<br />
<table class="tborder" cellspacing="0" cellpadding="$stylevar[cellpadding]" border="0" width="100%">
<tr>
<td class="alt2"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb] &gt;<strong>$navbits[lastelement]</strong></td>
</tr>
</table>
$similarthreads

$footer

<!-- temp -->
<div style="display:none">
	<!-- thread rate -->
	<if condition="$show['ratethread']">
		<!-- thread ratings form here -->
	<else />
		<if condition="$show['threadrating']">
			$vbphrase[you_rated_this_thread]: <strong>$threadinfo[vote]</strong>
		</if>
	</if>
	<!-- / thread rate -->
</div>

</body>
</html>
Reply With Quote
  #23  
Old 01-01-2006, 03:41 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't see that you said "showthread" i thought for sure you were talking about newpost.

Quote:
Originally Posted by Ron1n
Btw, this edit isnt in newpost, its in SHOWTHREAD, so it isnt effecting you...
The problem you are having is a result of newpost, showthread is for after the thread has been created.
Reply With Quote
  #24  
Old 01-01-2006, 03:44 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Whopsy...just enabled the system again and tired it out again, upoaded an attchment and got this error again when i clicked the Who Downloaded buttom

Code:
Database error in vBulletin 3.5.2:

Invalid SQL:

		UPDATE release SET
			downloads = downloads + 1
		WHERE postid = 2013;

MySQL Error  : 
Error Number : 
Date         : Sunday, January 1st 2006 @ 05:40:20 PM
Script       : http://www.bashys-place.com/forums/attachment.php?attachmentid=403&d=1136137141
Referrer     : http://www.bashys-place.com/forums/showthread.php?t=743
IP Address   : xx.xx.xxx.xxx.
Username     : Bashy
Classname    : xx_xxxxx
It only does it once per attachment...

Bashy
Reply With Quote
  #25  
Old 01-01-2006, 03:46 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, are you reffering to newthread not newpost

Heres my newthread as this is what the instructions say!


Quote:
Originally Posted by Ron1n
I didn't see that you said "showthread" i thought for sure you were talking about newpost.

The problem you are having is a result of newpost, showthread is for after the thread has been created.
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $vbphrase[post_new_thread]</title>
</head>
<body$onload>
$header
$navbar

$postpreview

<form action="newthread.php" method="post" name="vbform"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(this.subject.value, $vboptions[postminchars])"</if>>

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">
		<span class="smallfont" style="float:$stylevar[right]"><strong>$vbphrase[forum]</strong>: <a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[forumid]">$foruminfo[title]</a></span>
		$vbphrase[post_new_thread]
	</td>
</tr>
<tr>
	<td class="panelsurround" align="center">
	<div class="panel">
		<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
	
		$usernamecode		

		<!-- subject field -->
		<table cellpadding="0" cellspacing="0" border="0" class="fieldset">
		<tr>
			<td class="smallfont" colspan="3">$vbphrase[title]:</td>
		</tr>
		<tr>
			<td><input type="text" class="bginput" name="subject" value="$subject" size="40" maxlength="85" tabindex="1" /></td>
			<td>&nbsp;&nbsp;</td>
			<td><img id="display_posticon" src="$selectedicon[src]" alt="$selectedicon[alt]" /></td>		</tr>
		</table>
		<!-- / subject field -->
		
		<table cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td>
			
		<!-- message area -->
		<div class="smallfont">$vbphrase[message]:</div>		
		$messagearea
		<!-- / message area -->

		$posticons
		
			</td>
		</tr>
		</table>
		
		</div>
	</div>
			
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="hidden" name="s" value="$session[sessionhash]" />
		<input type="hidden" name="f" value="$forumid" />
		<input type="hidden" name="do" value="postthread" />
		<input type="hidden" name="posthash" value="$posthash" />
		<input type="hidden" name="poststarttime" value="$poststarttime" />
		<input type="submit" class="button" name="sbutton" id="{$editorid}_save" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
		<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="p" tabindex="1" />	
	</div>
	</td>
</tr>
</table>

<if condition="$show['additional_options']">
<br />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat">
			<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('newpost_options')"><img id="collapseimg_newpost_options" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_newpost_options].gif" alt="" border="0" /></a>
			$vbphrase[additional_options]
		</td>
	</tr>
</thead>
<tbody id="collapseobj_newpost_options" style="$vbcollapse[collapseobj_newpost_options]">	
	<tr valign="top">
		<td class="panelsurround" align="center">
		<div class="panel">
			<div style="width:$stylevar[formwidth]" align="$stylevar[left]">
							
				<if condition="$show['misc_options']">
<if condition="$show['release']">
				<fieldset class="fieldset">
					<legend>$vbphrase[cheatreleaseoptions]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<div><label for="cb_postrelease"><input type="checkbox" name="postrelease" value="1" id="cb_postrelease" tabindex="1" $checked[postrelease]/>$vbphrase[thisisarelease]</label></div>
					</div>
				</fieldset>
				</if>
				<fieldset class="fieldset">
					<legend>$vbphrase[miscellaneous_options]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<if condition="$bbuserinfo['signature'] != ''"><div><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="1" $checked[signature] />$vbphrase[show_your_signature]</label></div></if>
						<if condition="$show['parseurl']"><div><label for="cb_parseurl"><input type="checkbox" name="parseurl" value="1" id="cb_parseurl" tabindex="1" $checked[parseurl] />$vbphrase[automatically_parse_links_in_text]</label></div></if>
						$disablesmiliesoption
					</div>
				</fieldset>
				</if>
	
				$attachmentoption
						
				<if condition="$show['member']">
				<fieldset class="fieldset">
					<legend>$vbphrase[thread_subscription]</legend>
					<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
					<tr>
						<td>$vbphrase[notification_type]:<br /><select name="emailupdate" tabindex="1">
							<option value="9999" $emailchecked[9999]>$vbphrase[do_not_subscribe]</option>
							<option value="0" $emailchecked[0]>$vbphrase[no_email_notification]</option>
							<option value="1" $emailchecked[1]>$vbphrase[instant_email_notification]</option>
							<option value="2" $emailchecked[2]>$vbphrase[daily_email_notification]</option>
							<option value="3" $emailchecked[3]>$vbphrase[weekly_email_notification]</option>
						</select></td>
						<if condition="$show['subscribefolders']"><td>$vbphrase[folder]:<br /><select name="folderid" tabindex="1">$folderbits</select></td></if>
					</tr>
					</table>
				</fieldset>
				</if>
				
				<if condition="$show['poll']">
				<fieldset class="fieldset">
					<legend>$vbphrase[post_a_poll]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<div><label for="cb_postpoll"><input type="checkbox" name="postpoll" value="yes" id="cb_postpoll" tabindex="1" $checked[postpoll] />$vbphrase[yes_post_a_poll_thread]</label></div>
						<div><label for="polloptnum">$vbphrase[number_of_poll_options]: <input type="text" class="bginput" size="5" name="polloptions" value="$polloptions" id="polloptnum" tabindex="1" /></label> <if condition="$vboptions['maxpolloptions']">($vbphrase[maximum]: $vboptions[maxpolloptions])</if></div>
					</div>
				</fieldset>
				</if>
				<if condition="$show['vbookieevent']">
				<fieldset class="fieldset">
					<legend>$vbphrase[post_a_vbookieevent]</legend>
					<div style="padding:$stylevar[formspacer]px">

						<div><label for="cb_postvbookieevent"><input type="checkbox" name="postvbookieevent" value="yes" id="cb_postvbookieevent" tabindex="1" $checked[postvbookieevent] />$vbphrase[yes_post_a_vbookieevent_thread]</label></div>

					</div>
				</fieldset>
				</if>

				$threadmanagement
				
				</div>
			</div>
			
			<div style="margin-top:$stylevar[cellpadding]px">
				<input type="submit" class="button" name="sbutton" value="$vbphrase[submit_new_thread]" accesskey="s" tabindex="1" />
				<input type="submit" class="button" name="preview" value="$vbphrase[preview_post]" accesskey="p" tabindex="1" />			
			</div>
		</td>
	</tr>
</tbody>
</table>
</if>

</form>

<br />

$forumrules

$footer

</body>
</html>
Regards

Bashy
Reply With Quote
  #26  
Old 01-01-2006, 03:55 PM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dear RoN1N...
Its Looks Nice.....but while visiting the demo page...i saw there s ecShop
What is this? anything like ucash/ushop ??

Thanks
Reply With Quote
  #27  
Old 01-01-2006, 04:08 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since doing this, it is no longer registering how many downloads
The Who Downloaded button shows how many times with no problems
But yours does not register any more!

Bashy

Quote:
Originally Posted by Ron1n
Find in release_attachment_complete:
Code:
if (strpos($vbulletin->options['releaseextensions'], strtolower($extension)) !== false)
{
	$db->query_write("
		UPDATE " . TABLE_PREFIX . "release SET
			downloads = downloads + 1
		WHERE postid = $attachmentinfo[postid]
	");
}
Add above:
Code:
if ($_REQUEST['do'] != 'whodownloaded')
Reply With Quote
  #28  
Old 01-01-2006, 04:16 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry about this...

I just want to recap on the problems...

1. When i download a file i get a database error, this happens with files that
where uploaded before this Release system was installed as well as upload with the system.....
2. Does not register the amount of times the files been downloaded
3. It wants to create a POLL and theres no way to stop this.

Upto now thats the only issues found...
Other than that i do like it cand cant wait to use it on my open forum!

These errors do not happen when the system is disabled!

Bashy
Reply With Quote
  #29  
Old 01-01-2006, 04:23 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow this is great. Thanks man.
Reply With Quote
  #30  
Old 01-01-2006, 04:27 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't think you're going to be able to use this mod... not sure why its not compatable with your forum, but i'm not going to be able to solve problems that I cant reproduce.

3. It wants to create a POLL and theres no way to stop this.

Well, theres one problem... but this wont effect your POLL issue.

Code:
				<if condition="$show['release']">
				<fieldset class="fieldset">
					<legend>$vbphrase[cheatreleaseoptions]</legend>
					<div style="padding:$stylevar[formspacer]px">
						<div><label for="cb_postrelease"><input type="checkbox" name="postrelease" value="1" id="cb_postrelease" tabindex="1" $checked[postrelease]/>$vbphrase[thisisarelease]</label></div>
					</div>
				</fieldset>
				</if>
Should be ABOVE

Code:
				<if condition="$show['misc_options']">
2. Does not register the amount of times the files been downloaded

It doesn't register... in my mod, in the vb attachment system, in whodownloaded, in all of them?

1. When i download a file (sometimes) i get a database error

Its easier to help you if I know what the error is...

Quote:
What is this? anything like ucash/ushop ??
I dont know what uCash and uShop are... mine is an online shop where you can buy products via paypal.
Reply With Quote
  #31  
Old 01-01-2006, 04:41 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its the same error as post #23

Bashy
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:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07615 seconds
  • Memory Usage 2,428KB
  • Queries Executed 25 (?)
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
  • (7)bbcode_code
  • (4)bbcode_quote
  • (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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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