Current time: 08-01-2014, 03:44 AM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 6 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] MyDevel: Generate
12-21-2010, 01:12 AM
Post: #31
RE: MyDevel: Generate
Something I'd like to report with this. It will only create upto 100 users. I haven't encountered limits with how many threads and posts it will create, but after it's created 100 users it won't create anymore. Toungue
Find all posts by this user
Quote this message in a reply
12-21-2010, 04:05 AM
Post: #32
RE: MyDevel: Generate
(12-21-2010 01:12 AM)UndiscoveredTalent Wrote:  Something I'd like to report with this. It will only create upto 100 users. I haven't encountered limits with how many threads and posts it will create, but after it's created 100 users it won't create anymore. Toungue
Because of the php max runtime thingy. Wink

Facebook Connect for MyBB
Visit this user's website Find all posts by this user
Quote this message in a reply
12-21-2010, 01:13 PM
Post: #33
RE: MyDevel: Generate
It's not. After creating 100 users, I can't even create 1 more...
Find all posts by this user
Quote this message in a reply
12-21-2010, 04:14 PM (This post was last modified: 12-21-2010 04:14 PM by Dylan M..)
Post: #34
RE: MyDevel: Generate
(11-03-2010 08:16 AM)Aries-Belgium Wrote:  
(11-03-2010 03:05 AM)Yaldaram Wrote:  Yes, all other plugins activated normally. But Devel generator link is not showing even after its activation and re-activation. Seems to be an hook issue.

Are you logged in with the first user of your forum? MyDevel only shows up for uid 1 for security reasons. If you are developing a website you normally have only 1 account.

That's the only thing I can come up with why it's not showing.

Instead of checking against uid 1, you should check against super admin status. Example:
PHP Code:
if(!is_super_admin($user['uid']))
{
   return;


You may need to require_once on inc/functions.php to be able to use that FYI.

CodeWeavers - CrossOver: Windows Compatibility on Macintosh and Linux
[Image: Advocate_125.png]
Doesn't like unsolicited PMs
Find all posts by this user
Quote this message in a reply
12-21-2010, 09:42 PM
Post: #35
RE: MyDevel: Generate
(12-21-2010 01:12 AM)UndiscoveredTalent Wrote:  Something I'd like to report with this. It will only create upto 100 users. I haven't encountered limits with how many threads and posts it will create, but after it's created 100 users it won't create anymore. Toungue
Find all posts by this user
Quote this message in a reply
12-22-2010, 11:52 AM
Post: #36
RE: MyDevel: Generate
@Dylan M. : thanks for the tip

@UndiscoveredTalent: I think it's a limit of word available. Because there can't be a username with the same username, the plugin will keep trying until a new username is found. If there are less words available it takes longer to find one so that's why PHP times out. I'm going to add more words to the dictionary in the next release.

My latest plugins: Extra Forum Permissions | Facebook Meta Tags | Auto Unapprove Reported Posts
[Image: sig.png]
Find all posts by this user
Quote this message in a reply
12-23-2010, 06:59 AM
Post: #37
RE: MyDevel: Generate
I cant download it.. may be there is some error on that page.
Find all posts by this user
Quote this message in a reply
12-23-2010, 11:40 AM
Post: #38
RE: MyDevel: Generate
(12-23-2010 06:59 AM)Taim Wrote:  I cant download it.. may be there is some error on that page.

I uploaded a new version to the mods website yesterday but it needs to be activated again. If the plugin isn't active by tonight I will notify a moderator.

My latest plugins: Extra Forum Permissions | Facebook Meta Tags | Auto Unapprove Reported Posts
[Image: sig.png]
Find all posts by this user
Quote this message in a reply
12-23-2010, 11:48 AM
Post: #39
RE: MyDevel: Generate
Its Validated.

CodeWeavers - CrossOver: Windows Compatibility on Macintosh and Linux
[Image: Advocate_125.png]
Doesn't like unsolicited PMs
Find all posts by this user
Quote this message in a reply
12-23-2010, 11:56 AM
Post: #40
RE: MyDevel: Generate
Now its fine... Thanks..
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication