PHP-Nuke Services - Addons, Modules, Blocks Vizitati www.westdesign.ro Select Interface Language:EnglishRomanian
  Login or Register HomeForumsDownloadsYour AccountWeb LinksContact   
SectionsShow\Hide
MultiheadlinesShow\Hide
LoginShow\Hide
~ Welcome, alien
Nickname Password
(Register)

~ Membership:

Greetings to the newest member danial
~ New Today: 0
~ New Yesterday: 2
~ Overall: 3668

~ People Online:
~ Visitors: 9
~ Members: 0
~ Total: 9
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 4 December


Speed Up   Pause   Speed Down
DictionaryShow\Hide
Enter the word

Romanian users only

Situl personal NICU RANCOV Forum Index


Reply to topic Page 1 of 1
Multiheadlines feed url submission in Waiting content block
Message Author
Reply with quote
Post Posted: Tuesday 02 May, 2006 21:53

Right now there isn't any mail alert for admins in case of feed urls submission by users [I do consider though this option for a next version].

In order to see if there are some feed url submission by users direct into Waiting content block.
Open mainfile.php-> search for adminblock function and
after 10th line[within the function]:
Code:
$content = "<font class=\"content\">";

add the following code:
Code:
$submited_feedurls = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_multiheadlines_urls WHERE urls_active='0'"));   
$content .= "<strong><big>·</big></strong> <a href=\"admin.php?op=RSS\">"._MHSUBMISSIONS."</a>: $submited_feedurls<br>";

Next add and extra lang constant in at end of file language/lang-english.php [and others languages too]:
Code:
define("_MHSUBMISSIONS","MH Submissions");


From now on you'll have into Waiting content block a position for Multiheadlines feed urls submited by users.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Sunday 28 January, 2007 22:24

It doesn't work for phpnuke 8.

in root/mainfile.php search
Code:

      themesidebox($title, $content);
   }
}

function loginbox() {


Copy the code just above this.

Code:
$submited_feedurls = $db->sql_numrows($db->sql_query("SELECT * FROM ".$prefix."_multiheadlines_urls WHERE urls_active='0'"));   
$content .= "<strong><big>�</big></strong>�<a href=\"admin.php?op=RSS\">"._MHSUBMISSIONS."</a>: $submited_feedurls<br>";


View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Page Generation: 0.76 Seconds