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)
-   -   Give Your Users a Custom Page on Your Site (https://vborg.vbsupport.ru/showthread.php?t=91903)

amykhar 07-11-2005 01:53 AM

Quote:

Originally Posted by justindwhite
Everything seems to be working good, except when I try to s et the permissions, this is what im getting.

The phrases didn't install to the language you are using. Go to the phrase manager and copy them over.

Also, make sure to update the bitfields or the edits won't stick.

Sovereign 07-11-2005 02:19 AM

Excellent hack! I had the "phrases AWOL from Admin CP" issue, fixed that. Unfortunately, the SQL quieries were not executed, and I had to manually add "ALTER TABLE ".TABLE_PREFIX."usergroup ADD userpagepermissions INT( 10 ) UNSIGNED DEFAULT '0' NOT NULL ;" myself.

The Avatar 07-11-2005 05:15 AM

Could you include an un-installer script in this hack?

It would be a good feature and I would probably install it if it had this function.

shiva 07-11-2005 09:12 AM

Looks very cool. :)
Be sure to install this one when I get my new server in a couple months.

File uploading would be very nice, I have a lot of people who need some space, and when I told them about some of the new features with VB and "additions", this was one they really wanted.

By the way, I noticed that there's a blog type listing on your forum home, is this part of the extension, or is that manually added?

amykhar 07-11-2005 11:00 AM

Quote:

Originally Posted by shiva
Looks very cool. :)
Be sure to install this one when I get my new server in a couple months.

File uploading would be very nice, I have a lot of people who need some space, and when I told them about some of the new features with VB and "additions", this was one they really wanted.

By the way, I noticed that there's a blog type listing on your forum home, is this part of the extension, or is that manually added?

Those are links to my members external blogs and predate what I'm working on now.

I have file uploading working with another script I'm working on. I'll see about pulling it into this one. But, I have a couple more things I want to add to it first.

Amy

amykhar 07-11-2005 11:02 AM

Quote:

Originally Posted by The Avatar
Could you include an un-installer script in this hack?

It would be a good feature and I would probably install it if it had this function.

Yeah, the installer needs work. I'll be improving that and adding updrade and uninstall stuff as I go. This is the first time I've ever included an installer with my stuff. I usually make y'all go through the contortions of adding all the phrases, queries and templates manually. I'm evil like that. :D

dreck 07-12-2005 08:20 PM

Quote:

Originally Posted by amykhar
Please let me know how this round of installation went. I just updated the install file and want to make sure all is well.

Amy

Sorry I have been very busy! I just got time to install this & I am not sure where I went wrong? I was trying to do too many things at once. :rolleyes:
When I goto Permissions I don't see anything for "userpage", But their is 4 check boxes at the bottom that are blank? I am guessing this is the "userpage" permissions? But ofcourse if I select them I still get the error I dont have permission. :(
I will look around & see if I can find out what I did wrong.

Thanks!

amykhar 07-12-2005 08:27 PM

Quote:

Originally Posted by dreck
Sorry I have been very busy! I just got time to install this & I am not sure where I went wrong? I was trying to do too many things at once. :rolleyes:
When I goto Permissions I don't see anything for "userpage", But their is 4 check boxes at the bottom that are blank? I am guessing this is the "userpage" permissions? But ofcourse if I select them I still get the error I dont have permission. :(
I will look around & see if I can find out what I did wrong.

Thanks!

The phrases for some reason were screwy with that install file. I uploaded another one. A few posts up, I outlined how to fix the problem by searching for one of the phrases and resaving it.

Chris M 07-12-2005 09:06 PM

A couple of feature requests here amy :)

Perhaps a bbcode that can control what usergroups can see what content ;)

Let me explain:

I used to like this feature back in Logician's vB2 hack to create custom pages :)

So you can put like:
Quote:

[group=5,6,7,9]Only moderators, super mods, admins and subscribing members can see this[/group]
You don't have to have multiple groups - You can have singular groups as well :)

Also - Not sure if you have any idea of doing this, but a "comment" feature could be good, and also a "report" feature to report pages which have bad content :speechless:

Satan

.Tim 07-13-2005 12:15 AM

Quote:

Originally Posted by amykhar
The phrases didn't install to the language you are using. Go to the phrase manager and copy them over.

Also, make sure to update the bitfields or the edits won't stick.

What are the phrase names? I don't see any in the phrase manager. Can you post the phrases so I can do them manually? Thanks.

Sovereign 07-13-2005 01:33 AM

is it possible to expand the hack? As in allowing users a free webpage, geocities like thing? I mean, more than one page.

Sovereign 07-13-2005 01:44 AM

Is anyone else having install trouble? The hack idea is great, but I'm having to run all queries manually because of
Code:

"CREATE TABLE ".TABLE_PREFIX." `userpage` (
`userid` INT( 15 ) UNSIGNED NOT NULL ,
`pagedata` TEXT NOT NULL ,
`rating` INT NOT NULL ,
`dateline` INT( 10 ) NOT NULL ,
`username` VARCHAR(255) NOT NULL,
PRIMARY KEY ( `userid` )
);

the "`"s around the vars, I'm getting SQL errors. If I delet them, (username instead of `username`) it runs fine.

amykhar 07-13-2005 01:46 AM

Quote:

Originally Posted by hellsatan
A couple of feature requests here amy :)

Perhaps a bbcode that can control what usergroups can see what content ;)

Let me explain:

I used to like this feature back in Logician's vB2 hack to create custom pages :)

So you can put like:

You don't have to have multiple groups - You can have singular groups as well :)

Also - Not sure if you have any idea of doing this, but a "comment" feature could be good, and also a "report" feature to report pages which have bad content :speechless:

Satan

Regarding the BB codes, any code that works on your board works on these pages.

I am going to do a guestbook and a ranking feature. The report button is a nice idea. Will do.

I am also going to add file uploads in the next release.

amykhar 07-13-2005 01:47 AM

Quote:

Originally Posted by Sovereign
Is anyone else having install trouble? The hack idea is great, but I'm having to run all queries manually because of
Code:

"CREATE TABLE ".TABLE_PREFIX." `userpage` (
`userid` INT( 15 ) UNSIGNED NOT NULL ,
`pagedata` TEXT NOT NULL ,
`rating` INT NOT NULL ,
`dateline` INT( 10 ) NOT NULL ,
`username` VARCHAR(255) NOT NULL,
PRIMARY KEY ( `userid` )
);

the "`"s around the vars, I'm getting SQL errors. If I delet them, (username instead of `username`) it runs fine.

The install script ran fine on my test board, but I'll go through and tweak it to get rid of those.

Amy

amykhar 07-13-2005 01:48 AM

Quote:

Originally Posted by Sovereign
is it possible to expand the hack? As in allowing users a free webpage, geocities like thing? I mean, more than one page.

I am considering that as a separate release as an option instead of this one.

Chris M 07-13-2005 01:51 AM

Quote:

Originally Posted by amykhar
Regarding the BB codes, any code that works on your board works on these pages.

I am going to do a guestbook and a ranking feature. The report button is a nice idea. Will do.

I am also going to add file uploads in the next release.

You mis-understand - This isn't a bbcode that you can add via the manager - It would be one you add to this hack to include in these pages and the forum;)

Satan

amykhar 07-13-2005 01:53 AM

Quote:

Originally Posted by hellsatan
You mis-understand - This isn't a bbcode that you can add via the manager - It would be one you add to this hack to include in these pages and the forum;)

Satan

I'll put that one on the maybe list then.

Sovereign 07-13-2005 02:00 AM

OK, the install script kept hitting SQL errors, so I ran it manually. No offense, but the script is really buggy, at least on my server.

Chris M 07-13-2005 02:10 AM

Quote:

Originally Posted by amykhar
I'll put that one on the maybe list then.

Thanks :)

Satan

theArchitect 07-13-2005 03:36 AM

Quote:

Originally Posted by hellsatan
Thanks :)

Satan

I am having a sligh issue with setting the usergroup permissions.

I have gone to the user group page and scrolled to the bottom, but all of the options are blank (i.e. no text). I think I must have done something wrong.

Also, there was no .httaccess file in the folder I downloaded.

amykhar 07-13-2005 11:22 AM

The .htaccess file is most definitely in the zip. I just checked. Regarding the phrases, the installer has a glitch. I haven't got time to redo it this morning, but hopefully will this afternoon.

theArchitect 07-13-2005 11:28 AM

Quote:

Originally Posted by amykhar
The .htaccess file is most definitely in the zip. I just checked. Regarding the phrases, the installer has a glitch. I haven't got time to redo it this morning, but hopefully will this afternoon.

Maybe it is a Mac thing i.e. .httaccess is being read as a hidden file and therefore not being displayed. Because I just downloaded the zip file again and I can't see it.

amykhar 07-13-2005 11:38 AM

Quote:

Originally Posted by theArchitect
Maybe it is a Mac thing i.e. .httaccess is being read as a hidden file and therefore not being displayed. Because I just downloaded the zip file again and I can't see it.

Try setting your machine to show hidden files. :) I don't know how that's done on a mac, but there must be a setting somewhere. :)

twoseven 07-13-2005 02:15 PM

there is i dont even know where its at on a mac (and i use one). just upload the zip to the server and unzip it there. thats quicker anyhow than uploading independant files

Bad Bunny 07-13-2005 03:46 PM

Quote:

Originally Posted by theArchitect
Maybe it is a Mac thing i.e. .httaccess is being read as a hidden file and therefore not being displayed. Because I just downloaded the zip file again and I can't see it.

I have the same issue. You need Tinker Tool to view hidden files. All files that start with . are hidden.

It's a very easy to use tool. I turn the "view hidden files" on to edit htaccess, and then back off.

theArchitect 07-13-2005 08:37 PM

Quote:

Originally Posted by Bad Bunny
I have the same issue. You need Tinker Tool to view hidden files. All files that start with . are hidden.

It's a very easy to use tool. I turn the "view hidden files" on to edit htaccess, and then back off.

Thanks. Worked like a charm.

Now, to get the hack working. :-)

GamerzWorld 07-14-2005 06:46 AM

Hello, i recently tryed to imnstall your hack however was met with problems (it just didnt work). I decided i no longer wanted to try and uninstalled the hack. Yesterday i upgraded by boards to beta 4 and now when trying to change usergroups i have this error

MySQL Error : Unknown column 'userpagepermissions' in 'field list'
Error Number : 1054
Date : Thursday, July 14th 2005 @ 08:43:27 AM
Script : http://www.mirzone.net/forum/admincp/usergroup.php
Referrer : http://www.mirzone.net/forum/admincp...&usergroupid=2
Username : Merlin
Classname : vb_database

Its related to this hack, and i presume i have to undo the sql changes? Anyone able to help please?

fpouk 07-14-2005 07:26 AM

Quote:

Originally Posted by GamerzWorld
Hello, i recently tryed to imnstall your hack however was met with problems (it just didnt work). I decided i no longer wanted to try and uninstalled the hack. Yesterday i upgraded by boards to beta 4 and now when trying to change usergroups i have this error

MySQL Error : Unknown column 'userpagepermissions' in 'field list'
Error Number : 1054
Date : Thursday, July 14th 2005 @ 08:43:27 AM
Script : http://www.mirzone.net/forum/admincp/usergroup.php
Referrer : http://www.mirzone.net/forum/admincp...&usergroupid=2
IP Address : 86.131.18.250
Username : Merlin
Classname : vb_database

Its related to this hack, and i presume i have to undo the sql changes? Anyone able to help please?


same here... i looked in the install file for this modification to see what database changes to drop and i dropped everything that i seen that this hack added... also i uploaded a clean usergroup.php and still get the error. Cannot change any usergroup settings and submit it without getting that error.

I couldnt get the hack working right for some reason thats why i wanted to uninstall it.

amykhar 07-14-2005 02:08 PM

This is why I hate freaking install files. It takes all the control and common sense out of the process. I've removed the zip file because people don't seem to be reading that the install file had a glitch that I didn't have time to work on at the moment.

You need to delete the bitfield_userpage.xml file.

Amy

GamerzWorld 07-14-2005 02:34 PM

MySQL Error : Unknown column 'userpagepermissions' in 'field list'
Error Number : 1054
Date : Thursday, July 14th 2005 @ 04:32:28 PM
Script : http://www.mirzone.net/forum/admincp/usergroup.php
Referrer : http://www.mirzone.net/forum/admincp...&usergroupid=2
Username : Merlin
Classname : vb_database

amykhar 07-14-2005 02:36 PM

Quote:

Originally Posted by GamerzWorld
MySQL Error : Unknown column 'userpagepermissions' in 'field list'
Error Number : 1054
Date : Thursday, July 14th 2005 @ 04:32:28 PM
Script : http://www.mirzone.net/forum/admincp/usergroup.php
Referrer : http://www.mirzone.net/forum/admincp...&usergroupid=2
Username : Merlin
Classname : vb_database

Try rebuilding your bitfields the way you did when you first installed it. First remove the bitfield_userpage.xml, then rebuild bitfields.

GamerzWorld 07-14-2005 02:39 PM

That worked, id upgraded as well which i think caused problems. For anyone else having problem run

admincp/index.php?do=buildbitfields

Ron1n 07-14-2005 02:56 PM

this is a great hack concept, a realy great mod

amykhar 07-14-2005 04:11 PM

OK. I have redone the installation script. It's working fine on my test board. I uploaded version 1.1b which only contains an updated installation script. If 1.1 installed fine for you, you don't need to get or install this version.

Hopefully, I will be able to release another update this weekend that will contain:
a) Page Views
b) A report button people can use to report naughty content to the admins.
c) File uploads
d) Page ratings

Amy

mrgizmo 07-15-2005 11:37 AM

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1006

Unable to add cookies, header already sent.
File: /home/****/public_html/forums/includes/class_core.php
Line: 2651


:ermm:

Everything was running fine until I started the admincp/index.php?do=buildbitfields. Now I am unable to access the forum index or acp index. I keep getting those errors.

I've deleted the cookies and now I see a "login" screen, however everything is mirrored and will not allow me to login. This is the same with the acp.

tomjinx1 07-15-2005 11:47 AM

This is a really great and helpful hack for me. I was wondering one thing though. I have only 1 group that I'm allowing to create a custom page. Is there a way that you can code in a little something so that a link doesn't show on users that do not have permissions to create a page? Just to clarify what I'm asking, if I go into a user's profile, there is a link to their personal page. I would like to have this link only display for someone that has permissions to have one and not display for those that do not have permissions.

Would this be something easily done?

Tom

amykhar 07-15-2005 12:33 PM

Quote:

Originally Posted by tomjinx1
This is a really great and helpful hack for me. I was wondering one thing though. I have only 1 group that I'm allowing to create a custom page. Is there a way that you can code in a little something so that a link doesn't show on users that do not have permissions to create a page? Just to clarify what I'm asking, if I go into a user's profile, there is a link to their personal page. I would like to have this link only display for someone that has permissions to have one and not display for those that do not have permissions.

Would this be something easily done?

Tom

I have that in the new version.

amykhar 07-15-2005 12:34 PM

Quote:

Originally Posted by mrgizmo
Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1006



Unable to add cookies, header already sent.
File: /home/****/public_html/forums/includes/class_core.php
Line: 2651


:ermm:

Everything was running fine until I started the admincp/index.php?do=buildbitfields. Now I am unable to access the forum index or acp index. I keep getting those errors.

I've deleted the cookies and now I see a "login" screen, however everything is mirrored and will not allow me to login. This is the same with the acp.

Not sure what's happening for you. I have not seen that error nor has anybody else reported it.

mrgizmo 07-15-2005 12:56 PM

I ended up fixing it with a forum upgrade (beta 4). I do believe the issue was related to the bitfield command and beta 3. I am not 100% sure the relation, but the upgrade fixed it (thank god). *does db backup* LOL.

tomjinx1 07-15-2005 01:31 PM

Does this newest version fix the missing text in the group permissions? I have looked everywhere through this thread and can't find how to fix that problem.


All times are GMT. The time now is 03:54 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.02212 seconds
  • Memory Usage 1,852KB
  • 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
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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