Upload Mod

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
[PT]BlueDragon
Registered User
Posts: 60
Joined: Wed Mar 02, 2005 3:25 pm

Upload Mod

Post by [PT]BlueDragon »

Hi, this is part of a mod code...

Code: Select all

/*
Em caso de Upload
*/
}else if ($op=="upload"){
//verificar se é moderador
if ( $is_auth['auth_mod']){
  //
  // Start output of page
  //
  $page_title = "Legendas - Upload";
  include($phpbb_root_path . 'includes/page_header.'.$phpEx);

  $template->set_filenames(array(
	  'body' => 'legendas_upload_body.tpl')
  );
}
but i want that the condition also have an "OR" with the possibility of all users with more than 10 posts can do it..

anyone can help me with that??

how i get the users post count??

User avatar
drathbun
Former Team Member
Posts: 12204
Joined: Thu Jun 06, 2002 3:51 pm
Location: TOPICS_TABLE
Contact:

Post by drathbun »

This is the MOD Development forum, not MOD Support. If you're writing your own code, please post in the MOD Writers forum. If you're looking for help with an existing MOD, please post in the topic (released or development) dedicated to that MOD, thanks.
I blog about phpBB: phpBBDoctor blog
Still using phpbb2? So am I! Click below for details
Image

Locked

Return to “[2.0.x] MODs in Development”