vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   ecRelease (https://vborg.vbsupport.ru/showthread.php?t=104153)

Ron1n 12-31-2005 10:00 PM

ecRelease
 
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!

MaTraX 01-01-2006 08:36 AM

Nice and very usefull :) Thank you. I will try it on my test board.

TheProphet 01-01-2006 08:51 AM

Great work, will check it on my test board as well....

nhacso 01-01-2006 10:23 AM

what wrong with install.php, i can't run install.php files :surprised:

PHP Code:

Warningfile_get_contents(DIRincludes/class_dm_threadpost.php) [function.file-get-contents]: failed to open streamNo such file or directory in C:\www\upload\install.php on line 3 


waza 01-01-2006 10:25 AM

I don't really need this, but it seems to be a great hack, good work!

Kru 01-01-2006 10:26 AM

Looks nice. However I installed everything made the changes in the templates. In vBulletion Options I enable Releases but nothing show up if I make a new thread. How can I activate it in a new post

Kru 01-01-2006 10:35 AM

Well, found out that I must change the user permission. But now getting this error:

Fatal error: Field releaseid is not defined in $validfields in class vb_datamanager_thread in /includes/class_dm.php on line 485

Any idea what I made wrong?

bashy 01-01-2006 12:54 PM

I have installed...
2 problems
1. The drop down box for Release Categories is not a drop down
all the catergory items show as "Movie,Music,Software,Game,Other" in the box

2. When you submit, it wants to include a poll even though the poll is not checked..Cant proceed as i dont want to install a poll!!

Please advise on these 2 issus found atm, dont know if theres any more as i cant go any further!!

Also is there a way to set this per forum as i am sure peeps dont want releases all over the place :)

Regards

Bashy

bashy 01-01-2006 01:30 PM

I have gone the full hog and submitted a release (trial) even had to do the poll lol any way, once it was submitted i downloaded the attachment and the system threw a fit and chucked this error at me at the top of the forum....

Code:

There seems to have been a problem with the Bashy's Place database.
Please try again by clicking the Refresh button in your web browser.

An E-Mail has been dispatched to our Technical Staff, whom you can also contact if the problem persists.

We apologise for any inconvenience.

Database error in vBulletin 3.5.2:

Invalid SQL:

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

MySQL Error  :
Error Number :
Date        : Sunday, January 1st 2006 @ 03:27:14 PM
Script      : http://www.bashys-place.com/forums/attachment.php?attachmentid=398&d=1136129066
Referrer    : http://www.bashys-place.com/forums/showthread.php?t=735
IP Address  : xx.xxx.xxx.xx
Username    : Bashy
Classname    : xx_xxxxx
HTTP/1.1 200 OK Transfer-Encoding: chunked Date: Sun, 01 Jan 2006 15:27:21 GMT Content-Type: text/html; charset=ISO-8859-1 Cache-Control: private Server: Apache/2.0.54 (Red Hat) X-Powered-By: PHP/4.3.11 Pragma: private 1 23278

Please advise on these few issues, this is a really good idea but only if it works!!

Bashy

Ron1n 01-01-2006 02:24 PM

Quote:

Originally Posted by Kru
Fatal error: Field releaseid is not defined in $validfields in class vb_datamanager_thread in /includes/class_dm.php on line 485

Any idea what I made wrong?

You didn't make the file edit/run the install.php to do the file edits for you.

Quote:

1. The drop down box for Release Categories is not a drop down
all the catergory items show as "Movie,Music,Software,Game,Other" in the box
They should be separated by semicolons, sorry.

Quote:

2. When you submit, it wants to include a poll even though the poll is not checked..Cant proceed as i dont want to install a poll!!
Weird, I dont have this problem. Does anyone else? I think it could be a problem with the edits you made in "newthread."

Quote:

Also is there a way to set this per forum as i am sure peeps dont want releases all over the place :)
Nope, its designed to work in any forum - thats sorta the point in designing the hack the way I did. I could have done it like the article mod and just converted every post within a forum into a release, but I decided not to since I like this method more. If there is overwheliming popular support for limiting which forums can or can not be "released" in, then I may add it to the usergroup permissions per forum or something like that.

Quote:

UPDATE release SET
downloads = downloads + 1
WHERE postid = 1997;
What version of mysql are you using? I dont get this error for some reason.


All times are GMT. The time now is 03:42 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.01338 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete