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)
-   -   Hideaways (https://vborg.vbsupport.ru/showthread.php?t=92397)

Tyegurl 04-10-2006 03:43 PM

okay it worked once and i have not edited anything since i created my hideaway....now its reverted somehow and i can't create my hideaway again....and i get the error i had b4 line 758 one and wow this sucks!!!

worked great once but then it disappeared after i followed the link. i don't understand how this is happening....i am jinxed i swear to god.

wait could it be because i deleted the link for the forum?

oh i figured it out...when i set up the forum id to create the hideaways i created a link to them but that didn't work so i deleted it unfortunately it was the parent forum of the hideaways and it deleted them too....darnit!!

Replicators 04-10-2006 09:59 PM

This is the first mod i have come across that has no instructions o0

I have tried to figure this out, and seems good, but there is so much room for improvement, like a better userface or something. This would confuse the hell out of my users. Could it be possible for you to make a readme giving installation instructions, as well as a user guide of some sort?

Tyegurl 04-10-2006 10:34 PM

Quote:

Originally Posted by amykhar
There was an install text file and I lost it somehow during the upgrade. I just haven't had time to rewrite the thing.


lol

just a few posts up should help you immensely if you are confused! i had problems too...LOTS

djsydeburnz 04-29-2006 02:53 PM

amy, i have been testing fine for about 2 weeks, and i have a question. is there a limit to the number of forums allowed? been working fine and then all of the sudden, i am getting that same error:

PHP Code:

Fatal errorUnable to proceed with save while $errors array is not empty in class vb_datamanager_forum in /includes/class_dm.php on line 758 

it creates the usergroup and sets the leader, but then does not create the forum. i checked the hideaway.php file and all the changes I made are still in tact not sure what changed??

harry1951 05-18-2006 10:39 AM

Quote:

Originally Posted by amykhar
There was an install text file and I lost it somehow during the upgrade. I just haven't had time to rewrite the thing.

I knew that I was having it somewhere and found it on a backup :)

amykhar 05-22-2006 05:09 PM

OK. I have just discovered an issue that makes this very much an ADVANCED modification. This mod will conflict with other mods, such as the forum statusicon mod and other modifications that impact the forum database table.

If you are getting datamanager errors when it tries to create the forum, this is what's going on. Go lookin in the forumdata_start plugins and see which ones have required variables and adjust your hideaway.php file to set those required variables.

If you are not a coder, I am sorry, but I can only provide compatibility fixes as a premium service. I'm going to leave the code here because many of you do not use conflicting modifications and others of you can modify the php.

amykhar 05-22-2006 05:10 PM

Quote:

Originally Posted by harry1951
I knew that I was having it somewhere and found it on a backup :)

Thank you :)

LBSources 05-23-2006 05:17 PM

Quote:

Originally Posted by wcbryant
I've got it set up on a test forum, but for some reason the new usergroups aren't being given permission to even view the new forum.

So user 11 'Dotty' (name changed to protect the innocent) is in a usergroup allowed to create. She makes one, and both the 'Dottyhideaway' group and the 'Dotty's Hideaway Forum' are both successfully created. People can apply to Dotty's group, she can add people. But no one can see or access the forum, even with a direct link (except me, the administrator). When I go in to 'Edit Forum Permissions For Usergroup: Dottyhideaway in Forum Dotty's Hideaway Forum', it's set to all no straight down through the options.

Clearly I've done something wrong along the way if no one else has run into it, but after looking around with some help for a while at the hideaway.php code (stock from the download with the modifications directed in this thread), I'm not seeing where the problem is.

Thanks in advance, and great extensions, Amy. I've flagged a few of yours as features I'd like to go live with on my production site. :)

have you figured this out wc? amy any ideas? same issues here ..

LBSources 05-23-2006 05:27 PM

Quote:

Originally Posted by nexus851
When a register user try to create a forum, it gives them a "you do not have permission to access this page. This could be due to one of several reasons: etc..." message, but yet still made the forums for then.

I have the "Registered" usergroup set to yes for making forums, so i dont understand why it would give that message.

Please help...

another similar happening here ...

i believe it has something to do with
Code:

// Now, to set up the basic usergroup permissions.
        $usergroupid = $db->insert_id();
        // I cloned the permissions from the Registered user group.
        $usergroupinfo= $db->query_first("SELECT forumpermissions FROM ".TABLE_PREFIX."usergroup where usergroupid=23");
        $db->query_write("UPDATE ".TABLE_PREFIX."usergroup set forumpermissions=$usergroupinfo[forumpermissions] where usergroupid=$usergroupid");

Im trying to clone/replicate user permissions based on usergroup 23, yet its all set to 'NO' in the forum permissions ..

any ideas?

amykhar 05-23-2006 05:34 PM

The first thing you need to do when debugging the problem is to look at the $usergroupinfo array and make sure it's not empty.

Also, make sure that it's getting the right usergroupid when it inserts it.

Commenting out the database inserts and putting in print statements for debugging should help you figure out why it's failing with your changes in place.


All times are GMT. The time now is 11: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.01274 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)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