Sub Menu
Links Menu
Online Users

In total there are 653 users online :: 2 registered, 0 hidden and 651 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot] based on users active over the past 60 minutes

Publishing IP numbers from guests

Support for IntegraMOD 140

Moderator: Integra Moderator

Publishing IP numbers from guests

PostAuthor: Kie » Mon Jun 11, 2007 8:10 am

Hi,

I would like to publish or IP numbers or the sessionIPcode of guests who join the discussions on my board.
This is what I tried in a normal PHP board and it works;
open includesfunctions_post.php

function prepare_post(&$mode, &$post_data, &$bbcode_on, &$html_on, &$smilies_on, &$error_msg, &$username, &$bbcode_uid, &$subject, &$message, &$poll_title, &$poll_options, &$poll_length)


return ;
}



Before the last return add;

if ($userdata['user_id'] == ANONYMOUS) {
if (empty($username)) {
$username = 'Gast';
}
$username .= '[' . $userdata['session_ip'] . ']';
}



BUT Integra doesn't accept this and it causes syntaxerrors.
Is there somebody who can help me making this work in IM 1.40 ???

I really need to give guests the possibility to give reactions but it is anoying that they can play games with the other forummembers and we (moderators and admins) have to check the IP everytime to find out wich guest said what.. <img>
Last edited by Kie on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Kie
Newbie
Newbie
 
Posts: 3
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 16, 2006 11:57 pm
Cash on hand: 0.00

Re: Publishing IP numbers from guests

PostAuthor: Kie » Tue Jun 12, 2007 2:47 pm

Okay it seems to be easier, a friend of mine worked it out..

:mrgreen:
Last edited by Kie on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

Kie
Newbie
Newbie
 
Posts: 3
Likes: 0 post
Liked in: 0 post
Joined: Sun Apr 16, 2006 11:57 pm
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: Bing [Bot], Google [Bot]

cron