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
  #12  
Old 01-01-2006, 02:32 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi


Server Info

? Os: Linux w
? PHP: 4.3.11
? MySQL: 4.1.12
? Sql Size: 58MB
? Time: 15:40:57
? Date: 01 Jan 2006
? GMT: +0000

I get the DB error because i have the Who Downloaded hack installed, the error comes up after we click the Who Download button???

As for the file edits..., This 1
Code:
<input type="hidden" name="t" value="$threadid" />
Is actually in the template 4 times which could cause the Poll problem, therefore which one do i place your edit below?

Bashy
Reply With Quote
  #13  
Old 01-01-2006, 02:55 PM
Ron1n Ron1n is offline
 
Join Date: Jun 2004
Posts: 373
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
As for the file edits..., This 1
Code:
<input type="hidden" name="t" value="$threadid" />
Is actually in the template 4 times which could cause the Poll problem, therefore which one do i place your edit below?

Bashy
Place it ABOVE
Code:
<input type="hidden" name="pollid" value="$pollid" />
Btw, this edit isnt in newpost, its in SHOWTHREAD, so it isnt effecting you...

Quote:
I get the DB error because i have the Who Downloaded hack installed, the error comes up after we click the Who Download button???
The DB error is for invalid syntax... at least thats what it seems like. Does anyone else have this problem?
Reply With Quote
  #14  
Old 01-01-2006, 02:58 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is where it already is

I have just edited my last post with regards to the database error...

Is there out that you could sort out as i certainly want to keep both hacks

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

Do you only get this error when clicking on who downloaded, or do you also get it when downloading attachments. The two hacks may have some conflicts, but this doesnt look like one.
Reply With Quote
  #16  
Old 01-01-2006, 03:06 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi

I only get it when anyone clicks the Who Downloaded button.
it happens on all the attachments not just the ones uploaded using you system, It was ok before we installed it...

I have had to disable your for now untill its reolved due to this error..
btw i dont get the error now its diabled...

Before i disabled it i still had to setup the poll as well, i have checked and rechecked the edits and there all ok!!

Regards

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

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
  #18  
Old 01-01-2006, 03:19 PM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

cheers for this but where exactly is release_attachment_complete:
sorry

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

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

so it is thanks...

This issue now resolved
Just the poll problem now any other thoughts to it?
I could copy an paste my showthread for you to check?

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

You could try... i am going out, ill be back later.
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 08:47 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.04397 seconds
  • Memory Usage 2,303KB
  • 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
  • (5)bbcode_code
  • (2)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
  • (3)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