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


All times are GMT. The time now is 02:33 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.01085 seconds
  • Memory Usage 1,797KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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