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)

Kru 01-01-2006 08:02 PM

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!!! ;)

evenmonkeys 01-01-2006 10:14 PM

Could someone mess with the template to make it look like vB.org's a little more?

Ron1n 01-01-2006 11:26 PM

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.

COBRAws 01-02-2006 12:52 AM

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.

Ron1n 01-02-2006 01:40 AM

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.

DJ XtAzY 01-02-2006 01:57 AM

awsome this is a great hack..... now my board looks much betta =]

SLGR 01-02-2006 02:08 AM

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

Ron1n 01-02-2006 03:10 AM

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.

DJ XtAzY 01-02-2006 03:42 AM

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

SLGR 01-02-2006 05:27 AM

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.
:D


Thank you my friend.
:)

DJ XtAzY 01-02-2006 06:07 AM

i just wondering, is there a way to make the release show up on top on all the pages, like vbs?

SLGR 01-02-2006 06:19 AM

Quote:

Originally Posted by XtAzY
i just wondering, is there a way to make the release show up on top on all the pages, like vbs?

I don't if there's an option show first post in all pages of a thread.
If yes, this may work for you, too.
:)

evenmonkeys 01-02-2006 08:06 AM

Does this work without the download section?

Ron1n 01-02-2006 11:11 AM

Quote:

Thank you my friend.
So, does this mean you're all set? If you need something scripted there are tons of coders on these boards who could modify ecDownloads for you to meet your needs (for a fee).

Quote:

i just wondering, is there a way to make the release show up on top on all the pages, like vbs?
it does... doesnt it?

Quote:

Does this work without the download section?
yes, just dont upload downloads.php if you dont want it. i coded the entire thing and then went back and added the download directory. :D

DJ XtAzY 01-02-2006 01:36 PM

heres my sample thread

http://forum.animeost.net/showthread.php?t=5124

if u go to page 2, the release wont show at the top

also when i want to edit release from the Thread Tools it just brings this message next

Code:

Invalid Post specified. If you followed a valid link, please notify the administrator

P.Jackson 01-02-2006 04:47 PM

very very nice ronin look forward to final release you are 1 amazing coder :) also enjoyed your work for the community

Ron1n 01-02-2006 07:08 PM

I'll add those two bugs to my "to-do" list, they shouldnt be hard to sove.

When I click "edit release" it works fine... can you tell me what page you are linked to (please make sure it is the link for the thread you provided).

DJ XtAzY 01-02-2006 08:52 PM

<a href="http://forum.animeost.net/showthread.php?t=5124" target="_blank">http://forum.animeost.net/showthread.php?t=5124</a>

Ron1n 01-02-2006 09:03 PM

If thats the link.. then it works. I cant click "edit release" because I didnt post that thread.

Xtrato 01-03-2006 03:29 AM

FIND IN SHOWTHREAD:

<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php" method="post" id="inlinemodform">
$spacer_open
</if>

ADD ABOVE:

$release

Cant find the condition inlinemod....

Ron1n 01-03-2006 09:59 AM

You're clearly using a modified skin, try sticking it under
Code:

$poll

MissKalunji 01-03-2006 11:46 AM

is there a way to convert from ecdownload to this? without loosing the downloads

sjabnix 01-03-2006 01:22 PM

I've just installed, but when i change usergroup permissions i get this error:
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

I am able to change every other permissions except this one (i still get same error with others but they update, This doesnt)

Ron1n 01-03-2006 01:39 PM

Quote:

I've just installed, but when i change usergroup permissions i get this error:
Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /includes/class_core.php on line 635

I am able to change every other permissions except this one (i still get same error with others but they update, This doesnt)
I'm not sure what would cause this... i'll try to find out.

Quote:

is there a way to convert from ecdownload to this? without loosing the downloads
Unfortunately there is not... sorry. Creating a conversion program would be a huge undertaking, almost as large as making the mod itself.

SLGR 01-03-2006 01:49 PM

Quote:

Originally Posted by Ron1n
So, does this mean you're all set? If you need something scripted there are tons of coders on these boards who could modify ecDownloads for you to meet your needs (for a fee).

it does... doesnt it?

yes, just dont upload downloads.php if you dont want it. i coded the entire thing and then went back and added the download directory. :D


Honestly, I don't know my friend.
I hope soon i'll open a thread in here asking Coders to give me a price for:
1. How much will cost me to modify ecDownloads?
2. How much to modify paFileDB, to take skin from vB, and to recognize vB Member System.

Then i'll consider what's better for me, and i'f i can afford it, and we see.
Thanks for your replies and time.
:)

sjabnix 01-03-2006 02:03 PM

Quote:

Originally Posted by Ron1n
I'm not sure what would cause this... i'll try to find out.

Unfortunately there is not... sorry. Creating a conversion program would be a huge undertaking, almost as large as making the mod itself.

Hmm, Actually i dont think its your mod anyway. Think i had this before. You know anything else could couse a problem like this?

Ron1n 01-03-2006 03:56 PM

Try asking in general support on vbulletin.org and vbulletin.com

Xtrato 01-03-2006 04:14 PM

Quote:

Originally Posted by Ron1n
You're clearly using a modified skin, try sticking it under
Code:

$poll

Nope still not showing up.

DJ XtAzY 01-03-2006 05:11 PM

Quote:

Originally Posted by Ron1n
If thats the link.. then it works. I cant click "edit release" because I didnt post that thread.

i can create a test account for u to make a thread and try to edit the release using the Thread tools....

it culd be just my board...... can anyone who also using this hack, edit the release using the thread tools?

bashy 01-03-2006 05:14 PM

Hi

No, i cant edit the release from the Thread Tools, i get this
Invalid Post specified. If you followed a valid link, please notify the administrator

Bashy

bashy 01-03-2006 05:43 PM

Spot the deliberate mistake :rolleyes:

Released: 1 Day Ago Updated: Never
Game: Movie Name: Green River Killer (2005)
Author: Ulli Lommel Ulli Lommel Ulli Lommel Ulli Lommel Downloads: 0

Ron1n 01-03-2006 05:47 PM

Quote:

Originally Posted by XtAzY
i can create a test account for u to make a thread and try to edit the release using the Thread tools....

it culd be just my board...... can anyone who also using this hack, edit the release using the thread tools?

just tell me what link you are directed to...

bashy 01-03-2006 05:48 PM

Quote:

Originally Posted by Ron1n
just tell me what link you are directed to...

postings.php

Bashy

DJ XtAzY 01-03-2006 07:43 PM

yes it redirects me to postings.php.......... i got confused on the earlier post

Ron1n 01-03-2006 09:01 PM

please, tell me the exact URL (including ?p=#)

bashy 01-03-2006 09:03 PM

Quote:

Originally Posted by Ron1n
please, tell me the exact URL (including ?p=#)

http://www.bashys-place.com/forums/postings.php

That is the full url...

Regards

Bashy

DJ XtAzY 01-04-2006 12:06 AM

<a href="http://forum.animeost.net/postings.php" target="_blank">http://forum.animeost.net/postings.php</a>

thats the full url.......nothing fancy =p

sjabnix 01-04-2006 12:32 PM

Okay, I got the updating usergroups to work but i got another problem now, When i run the installer i get some error in my class_dm_threadpost.php file, and i am probrably stupid/blind but i cant find the manually edits for the file

Xtrato 01-04-2006 06:33 PM

Ronin the Cheat release option in the new thread area is not there! I did all the edits too what do i do?

Ron1n 01-04-2006 06:43 PM

Quote:

Okay, I got the updating usergroups to work but i got another problem now, When i run the installer i get some error in my class_dm_threadpost.php file, and i am probrably stupid/blind but i cant find the manually edits for the file
Search for pollid... (ctrl+f) its near one of those.

Quote:

Ronin the Cheat release option in the new thread area is not there! I did all the edits too what do i do?
Undo the edit you did in newthread and do this:

Code:

FIND IN newthread:

<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>
                                                <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>
                                                $disablesmiliesoption
                                        </div>
                                </fieldset>

ADD BELOW:
                                <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>



All times are GMT. The time now is 03:37 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.01543 seconds
  • Memory Usage 1,896KB
  • 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
  • (5)bbcode_code_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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