Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

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
  #42  
Old 01-01-2006, 08:02 PM
Kru's Avatar
Kru Kru is offline
 
Join Date: Nov 2002
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok found my bug for a strange reason this string: 'releaseid' => array(TYPE_UINT, REQ_NO), stood twice time in the same line.

Works like a charm, now.

INSTALLED!!!
Reply With Quote
  #43  
Old 01-01-2006, 10:14 PM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could someone mess with the template to make it look like vB.org's a little more?
Reply With Quote
  #44  
Old 01-01-2006, 11:26 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm not very skilled with templates... i welcome someone's work making the layout look a little better - or even an alternate layout style that the user can choose.
Reply With Quote
  #45  
Old 01-02-2006, 12:52 AM
COBRAws's Avatar
COBRAws COBRAws is offline
 
Join Date: Oct 2002
Location: Buenos Aires
Posts: 864
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi, sorry but I need to know this before installing:

How do you select when a new thread becomes an overview or a release? Can I use the forum admin and tell it to all threads created in X forum will be releases?

How does the downloads hack categorize downloads?

Thank you in advance Ron1n. I only saw good and helpful hacks coming from you.
Reply With Quote
  #46  
Old 01-02-2006, 01:40 AM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
How do you select when a new thread becomes an overview or a release? Can I use the forum admin and tell it to all threads created in X forum will be releases?
You specify that a thread will be a release by checking a box (similar to creating a poll). You cannot make all threads in one section a release.

People have poll sections / debate forums on their sites, but they dont force people to only post threads with polls... thats because you might want some instruction posts or announcement posts. The same is true of a download forum. You may have 99.99% releases, but even at VB there are posts with instructions in them at the top of the forum (though they run their system differently).


Quote:
How does the downloads hack categorize downloads?
You create categories in the admincp.
Reply With Quote
  #47  
Old 01-02-2006, 01:57 AM
DJ XtAzY DJ XtAzY is offline
 
Join Date: Feb 2005
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awsome this is a great hack..... now my board looks much betta =]
Reply With Quote
  #48  
Old 01-02-2006, 02:08 AM
SLGR SLGR is offline
 
Join Date: Jul 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ron1n, hello.
Some questions my friend.
Is this is one saves files in DB? If not, can such an option to choose where to store files can be integrated? And finally, i saw the demo at EliteCoders.org, and I wonder whether the main page can be adjusted to look like more like a forum.

For example:
- Category 1
- Category 2
- Category 3

When you enter Category 1, (let's say /forum/downloads.php?cid=1), you may then see all files related to Category 1. And so on.

General question:
Is the download system used in vBulletin.org available for members?
:P
Reply With Quote
  #49  
Old 01-02-2006, 03:10 AM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Is this is one saves files in DB? If not, can such an option to choose where to store files can be integrated?
This makes use of the attachment system. It stores files in the db depending on whether your attachments are stored in the DB.

Quote:
When you enter Category 1, (let's say /forum/downloads.php?cid=1), you may then see all files related to Category 1. And so on.
atm, no. maybe in the future i'll provide two ways to browse files. however, you may be more interested in my other mod, ecDownloads.


Quote:
Is the download system used in vBulletin.org available for members?
no.
Reply With Quote
  #50  
Old 01-02-2006, 03:42 AM
DJ XtAzY DJ XtAzY is offline
 
Join Date: Feb 2005
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xYarub
Could someone mess with the template to make it look like vB.org's a little more?
heres my showthread_release

it looks similiar vb.orgs =]


Code:
<!-- release #$post[releaseid] -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
 <!-- <td class="tcat" colspan="3">
  Thread Title
 </td> -->
</tr>
<tr>
 <if condition="$show['announcement']">
  <td class="thead" style="font-weight:normal" colspan="3">
   <img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
   <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
  </td>
 <else />
  <td class="thead" style="font-weight:normal" $post[scrolltothis] colspan="3">&nbsp;
  </td>
 </if>
</tr>
<table>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
 <tr>
  <td class="alt2" rowspan="3" width="175">
   <div id="postmenu_$post[postid]">
	<if condition="$show['profile']">
	<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
	<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
	<else />
	$post[musername]
	</if>
   </div>
  <if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if>
  <if condition="$post['rank']"><div class="smallfont">$post[rank]</div></if>
  <if condition="$show['avatar']">
   <div class="smallfont">
	&nbsp;<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
   </div>
  </if>
  </td>
  <td class="alt2"><strong>$vbphrase[released]:</strong> $post[postdate]</td>
  <td class="alt2"><strong>$vbphrase[name]:</strong> $post[name]</td>
  <td class="alt2" rowspan="3" width="250">
   <!-- actions -->
	<div style="padding:$stylevar[cellpadding]px">
	<fieldset class="fieldset">
	 <legend>$vbphrase[release_actions]</legend>
	 <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
	  <tr>
	   <td>
	   <if condition="$show['reportlink']">
		<a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow">$vbphrase[report_release]</a><br>
	   </if>
	   </td>
	  </tr>
	  <tr>
	   <td>
	   <if condition="$show['editrelease']">
		<a href="release.php?$session[sessionurl]do=releaseedit&t=$post[threadid]" rel="nofollow">$vbphrase[edit_release]</a>
	   </if>
	   </td>
	  </tr>
	  <tr>
	   <td>
	   <if condition="$show['editrelease']">
		<a href="editpost.php?$session[sessionurl]p=$post[postid]" rel="nofollow">Edit Post</a><br>
	   </if>
	   </td>
	  </tr>
	  <tr>
	   <td id="threadrating">
	   <if condition="$show['threadrating']">
		<a href="$show[nojs_link]#goto_threadrating"><if condition="$show['rating']">$vbphrase[rating]: <img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$post[rating].gif" alt="<phrase 1="$post[votenum]" 2="$post[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>
	   </if>
	   </td>
	  </tr>
	 </table>
	</fieldset>
	</div>
   <!-- / actions -->
  </td>
 </tr>
 <tr>
  <td class="alt1"><strong>$vbphrase[category]:</strong> $post[category]</td>
  <td class="alt1"><strong>$vbphrase[updated]:</strong> $post[edit_date]</td>
 </tr>
 <tr>
  <td class="alt2"><strong>$vbphrase[author]:</strong> $post[author]</td>
  <td class="alt2"><strong>$vbphrase[downloads]:</strong> $post[downloads]</td>
 </tr>
 <tr valign="top">
  <td class="alt1" colspan="3">
   <!-- message -->
   <div id="post_message_$post[postid]">$post[message]</div>
   <!-- / message -->
   <if condition="$show['attachments']">
   <!-- attachments -->
	<div style="padding:$stylevar[cellpadding]px">
	<if condition="$show['thumbnailattachment']">
	 <fieldset class="fieldset">
	  <legend>$vbphrase[attached_thumbnails]</legend>
	  <div style="padding:$stylevar[formspacer]px">
	  $post[thumbnailattachments]
	  </div>
	 </fieldset>
	</if>
	<if condition="$show['imageattachment']">
	 <fieldset class="fieldset">
	  <legend>$vbphrase[attached_images]</legend>
	  <div style="padding:$stylevar[formspacer]px">
	  $post[imageattachments]
	  </div>
	 </fieldset>
	</if>
	<if condition="$show['imageattachmentlink']">
	 <fieldset class="fieldset">
	  <legend>$vbphrase[attached_images]</legend>
	  <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
	  $post[imageattachmentlinks]
	  </table>
	 </fieldset>
	</if>
	</div>
   <!-- / attachments -->
   </if>
  </td>
  <td class="alt2">
   <if condition="$show['attachments']">
	<!-- attachments -->
	 <div style="padding:$stylevar[cellpadding]px">
	 <if condition="$show['otherattachment']">
	  <fieldset class="fieldset">
	   <legend>$vbphrase[attached_files]</legend>
	   <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
	   $post[otherattachments]
	   </table>
	  </fieldset>
	 </if>
	 <if condition="$show['moderatedattachment']">
	  <fieldset class="fieldset">
	   <legend>$vbphrase[attachments_pending_approval]</legend>
	   <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
	   $post[moderatedattachments]
	   </table>
	  </fieldset>  
	 </if>
	 </div>
	<!-- / attachments -->
   </if>
  </td>
 </tr>
<!-- <tr>
 <td class="tfoot" colspan="3" align="center"><span class="smallfont">&nbsp;</span></td>
</tr> -->
</table>
<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
 <table cellpadding="4" cellspacing="1" border="0">
 <tr>
  <td class="thead">$post[username]</td>
 </tr>
 <if condition="$show['profile']">
  <tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
 </if>
 <if condition="$show['pmlink']">
  <tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
 </if>
 <if condition="$show['emaillink']">
  <tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
 </if>
 <if condition="$show['homepage']">
  <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
 </if>
 <if condition="$show['search']">
  <tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
 </if>
 <if condition="$post['userid'] AND $show['member']">
 <tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
 </if>
 </table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- / release #$post[releaseid] -->
<br />
enjoy guys XD
Reply With Quote
  #51  
Old 01-02-2006, 05:27 AM
SLGR SLGR is offline
 
Join Date: Jul 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ron1n
This makes use of the attachment system. It stores files in the db depending on whether your attachments are stored in the DB.

atm, no. maybe in the future i'll provide two ways to browse files. however, you may be more interested in my other mod, ecDownloads.

no.
Thank you.
Recently, an IT Company offered my members access to a conference material.
As i talked with them, we agreed to provide a download page where only registered members could access files. I tried paFileDB, can't integrated with vB. Then I found your system, and yes, I was pretty interested in ecDownloads. I asked in here (https://vborg.vbsupport.ru/showpost....5&postcount=98) the same question (if files get stored in db or not, and if not, if there's any possibility for such a modification in the extension) but westpointer answered that files get stored in file system and "From a technical stand point, yes, one could do that. However, I don't believe Ron1n or I have any plans to rewrite the code to store the files in the db."

I have a server of 150 ΜB and in theory unlimited dbs.
So, my file system cannot manage 20-30 pdf files of 5 mb each one, and those are only from one conference! I was also thinking to provide a section with antivirus downloads, and that's now impossible.

My only way now, seems to be to find a way out for paFileDB.
I have seen it working with other vB forum, but this was version 3.0.x
And i use 3.5.2.
or.... to find more money for bigger file system.



Thank you my friend.
Reply With Quote
Reply

Thread Tools

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 12:20 AM.


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.05051 seconds
  • Memory Usage 2,327KB
  • 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
  • (1)bbcode_code
  • (7)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