vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Add-On Releases - Members Area (https://vborg.vbsupport.ru/showthread.php?t=141997)

harmor19 03-13-2007 10:00 PM

Members Area
 
This is an add-on that resembles Jelsoft's Members Area.
First you need to upload a ZIP file to "membersarea_download" directory in the following format [title][version number].zip (without brackets).
Then go into your ACP --> Manage Members Area --> Add Product and add the title and version number.

You can limit which usergroup can download which file when adding a new file (view screenshots).

Here is a demo http://xenweb.net/forums/membersarea.php
I have uploaded a file and set 'Guests' as the only usergroup that can download the file.

harmor19 03-13-2007 11:32 PM

I hope you like this add-on

Rickeo 03-13-2007 11:38 PM

First install thnk you wooohooo :) great mod

~Rick~

Shazz 03-13-2007 11:40 PM

Looks very interesting

salata 03-13-2007 11:51 PM

i have no need for this but its a great mod imo

ChurchMedia 03-14-2007 04:14 AM

Very cool! I have a lot of uses for this!

futureye 03-14-2007 04:39 AM

Hi very cool

but how can i make Members Area like vBulletin.com

with authority log-in

for private members

harmor19 03-14-2007 04:48 AM

I don't know how to do it with .htpasswd but you can can create an usergroup called "Paid Users". Place users that pay for access to the Members Area into the secondary usergroup "Paid Users".

At the very top of the template "xwp_download" add
HTML Code:

<if condition="is_member_of($bbuserinfo, X)">
Replace "X" with the ID of the usergroup "Paid Users".

At the very end put
HTML Code:

</if>

projectego 03-14-2007 10:58 AM

Awesome! Great work, harmor19! ;)

Allan 03-14-2007 11:29 AM

Great idea ;)

Naxon 03-14-2007 02:17 PM

Installed :)

4x4 Mecca 03-14-2007 04:03 PM

Installing it. You may want to edit the zip file and put the XML folder in an INCLUDES folder. Most users just copy the contents to their forum root. Great product. Thanks.

bashy 03-14-2007 04:57 PM

Hi Harmor

I do not have controls in my admnincp
I have uploaded the files and imported the product twice now and still no controls!!
Also i see nothing extra in the usercp either :(

harmor19 03-14-2007 05:09 PM

Quote:

Originally Posted by bashy (Post 1203429)
Hi Harmor

I do not have controls in my admnincp
I have uploaded the files and imported the product twice now and still no controls!!
Also i see nothing extra in the usercp either :(

Check and make sure "cpnav_xw_products.xml" is uploaded to public_html/forums/includes/xml/

bashy 03-14-2007 05:15 PM

Ah, i had uploaded the xml folder to the forum root as it looked like it was the forum layout

Its all there now except the usercp bit, unless we have to added a link to the php?

vspro 03-14-2007 06:59 PM

sorry!
Do you help me?

I want a question when i change DIR from: "membersarea_download"
I don't like and I up file zip or rar at a new site
EX: http://domain1.com
but I up forum at http://domain.com

I want change DIR to:
Quote:

$dir = "http://domain1.com";
But when I change I can't download file.
You can help me change it.

harmor19 03-14-2007 07:22 PM

I can't get it to work either. Sorry I can't help.

Snake 03-14-2007 09:25 PM

Awesome! Thanks for this. :D

harmor19 03-14-2007 09:28 PM

Quote:

Originally Posted by Snake (Post 1203627)
Awesome! Thanks for this. :D

Usually I would say "You're welcome" but I believe you just say that to increase your post count.

Josh1 03-15-2007 01:23 AM

How about downloads count if it doesn't have it already?

harmor19 03-16-2007 05:26 AM

Quote:

Originally Posted by Josh1 (Post 1203777)
How about downloads count if it doesn't have it already?

Maybe a time limit as well?

waller99 03-16-2007 12:03 PM

I am getting this sql error. I installed the product-xw_products.xml 2 times and still an error. I am running 3.6.4



Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT * FROM vbxw_products WHERE active = 1 ORDER BY xwproductid DESC;

MySQL Error  : Table 'mofsql.vbxw_products' doesn't exist
Error Number : 1146
Date        : Friday, March 16th 2007 @ 05:57:15 AM
Script      : http://www.mysite.com/membersarea.php
Referrer    :
IP Address  : 1.1.1.1
Username    : username
Classname    : vb_database


harmor19 03-16-2007 06:09 PM

Quote:

Originally Posted by waller99 (Post 1204807)
I am getting this sql error. I installed the product-xw_products.xml 2 times and still an error. I am running 3.6.4



Code:

Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT * FROM vbxw_products WHERE active = 1 ORDER BY xwproductid DESC;

MySQL Error  : Table 'mofsql.vbxw_products' doesn't exist
Error Number : 1146
Date        : Friday, March 16th 2007 @ 05:57:15 AM
Script      : http://www.mysite.com/membersarea.php
Referrer    :
IP Address  : 1.1.1.1
Username    : username
Classname    : vb_database


Try running this product XML

waller99 03-16-2007 06:41 PM

No good. Still the same error. I don't see anywhere that it is creating this table on my database.

I also can't uninstall the original product. It gives me this error..

Quote:

Database error in vBulletin 3.6.4:

Invalid SQL:
DROP TABLE `vbxw_products`;;

MySQL Error : Unknown table 'vbxw_products'
Error Number : 1051
Date : Friday, March 16th 2007 @ 12:39:57 PM
Script : http://www.myforum.com/admincp/plugi...do=productkill
Referrer : http://www.myforum.com/admincp/plugi...xw_products&s=
IP Address : 1.1.1.1
Username : username
Classname : vb_database

anywares 03-16-2007 07:13 PM

lykzomg++++inghellwow!

INSTALLS 500000 TIMES!

:D

harmor19 03-16-2007 08:14 PM

Quote:

Originally Posted by waller99 (Post 1205054)
No good. Still the same error. I don't see anywhere that it is creating this table on my database.

I also can't uninstall the original product. It gives me this error..

Look for the table named "xw_products" in phpmyadmin and drop it.

Hornstar 03-17-2007 05:46 AM

Nice work, this will be useful for a few of my sites. thanks.

Ziki 03-17-2007 08:12 AM

I think vMembers by calorie looks way better .Sorry harmor

anywares 03-17-2007 10:31 AM

very true but the problem is its for vB 3.5.X :(

Ziki 03-18-2007 06:14 AM

Quote:

Originally Posted by anywares (Post 1205513)
very true but the problem is its for vB 3.5.X :(

Also works on 3.6

goblues 03-18-2007 02:21 PM

I have this set up to where paid members have access to the downloads however I was wondering how to populate the drop down menu with the file names but non paid users cannot download, only view file names. Is this possible?

blind-eddie 03-18-2007 03:34 PM

harmor19, Can you get this to work with 3.6.5 with owners permission?
https://vborg.vbsupport.ru/showthrea...light=vMembers

blind-eddie 03-18-2007 03:50 PM

Quote:

Originally Posted by Ziki (Post 1206117)
Also works on 3.6


I didnt get it to work.

blind-eddie 03-18-2007 04:39 PM

Great Product, I will use this for many things, but I cant access it via usercp or navbar without editing templates. I have to type in http://my site/forum/membersarea.php
to access it. Is this supposed to get added to usercp automatically?

harmor19 03-18-2007 07:48 PM

Quote:

Originally Posted by goblues (Post 1206433)
I have this set up to where paid members have access to the downloads however I was wondering how to populate the drop down menu with the file names but non paid users cannot download, only view file names. Is this possible?

I'll do that right now.


Quote:

Originally Posted by blind-eddie (Post 1206550)
Great Product, I will use this for many things, but I cant access it via usercp or navbar without editing templates. I have to type in http://my site/forum/membersarea.php
to access it. Is this supposed to get added to usercp automatically?

I'll write instruction to add it to your navbar.

goblues 03-18-2007 07:55 PM

Right on! Thanks!

harmor19 03-19-2007 12:41 AM

I have upgraded this add-on.

This screenshot is hard to read but I'll explain it.
Attachment 1174267799

1. You can enable/disable Members Area
2. You can type the forum ID where you handle support
3. You can show all the files to everyone but only those with permission can download them.


Upload and overwrite "membersarea.php".
Upload the product via the product manager, making sure you select "Overwrite".


You can view the demo to see number 3 in action.

sam anders 03-19-2007 10:45 PM

i have tried installing 3.6.5 but receive a error, could this be fixed to work with 3.6.5?

Database error in vBulletin 3.6.5:

Invalid SQL:
SELECT * FROM vbxw_products WHERE title='Install'
AND versionnumber = '1.0.0';

MySQL Error : Table 'forum2.vbxw_products' doesn't exist
Error Number : 1146
Date : Monday, March 19th 2007 @ 11:41:59 PM
Script : http://mydomain/forum/admincp/member....php?do=do_add
Referrer : http://mydomain/forum/admincp/member...min.php?do=add
IP Address : ??.???.??.???
Username : admin
Classname : vb_database

harmor19 03-20-2007 12:14 AM

Quote:

Originally Posted by sam anders (Post 1207705)
i have tried installing 3.6.5 but receive a error, could this be fixed to work with 3.6.5?

Database error in vBulletin 3.6.5:

Invalid SQL:
SELECT * FROM vbxw_products WHERE title='Install'
AND versionnumber = '1.0.0';

MySQL Error : Table 'forum2.vbxw_products' doesn't exist
Error Number : 1146
Date : Monday, March 19th 2007 @ 11:41:59 PM
Script : http://mydomain/forum/admincp/member....php?do=do_add
Referrer : http://mydomain/forum/admincp/member...min.php?do=add
IP Address : ??.???.??.???
Username : admin
Classname : vb_database

I forgot to add a table prefix. Download the archive again and import the product again.

sam anders 03-20-2007 07:56 AM

have tried downloading the file and reinstalling but the table is still not created by the product file


All times are GMT. The time now is 03:55 AM.

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.01852 seconds
  • Memory Usage 1,820KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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