PDA

View Full Version : 2 questions really quick



Martin
Sun 14th May '00, 4:45am
Okay, I have battled past most of the problems I had in getting my vB board ready, and now I have 2 queswtions remaining.

[list=1]
How do I define my SMTP server in the php.ini file? I don't have a mail domain, just an IP and port. I have tried putting the IP but it doesn't work.
How do I add the aim, ICQ and Yahoo messenger icons to the row in the postbit template? I tried "$aim", etc, but it didn't show.
How do I edit the Admin and Mod titles?
[/list=1]

Thanx in advance :)

[Edited by Martin on 05-14-2000 at 02:55 PM]

Martin
Sun 14th May '00, 5:04am
I know where the User Group functions are, but there is no option to change a Moderator title and when I try to change the Admin Title I get this:

Fatal error: Call to undefined function: adslashes() in config.php on line 404

werehere
Sun 14th May '00, 6:03am
I believe your fatal error is actually a typo in the script that is fixed with the developers addition. It has .adslashes instead of .addslashes, or something similar if I remember correctly:)

Martin
Sun 14th May '00, 6:11am
well, mebbe they'll have the dev edition NT compatible soon...

John
Sun 14th May '00, 7:35am
Originally posted by Martin
How do I define my SMTP server in the php.ini file? I don't have a mail domain, just an IP and port. I have tried putting the IP but it doesn't work.

SMTP string
DNS name or IP address of the SMTP server PHP under Windows should use for mail sent with the mail() function.

That is from the manual for PHP - if it does not work, then you should contact PHP I think.


How do I add the aim, ICQ and Yahoo messenger icons to the row in the postbit template? I tried "$aim", etc, but it didn't show.

You should be able to use $icq $aim and $yahoo in the postbit template. However, these will only appear if the member has specified something in the field.



How do I edit the Admin and Mod titles?


You can edit the titles through the user groups section in the control panel. There is a known problem with updating the title though - try doing a search and replace in usergroup.php, replacing adslashes with addslashes.

John

Martin
Sun 14th May '00, 7:57am
John,
Here is the line from my postbit template:

$profile $useremail $homepage $aim $icq $yahoo
<a href="search.php?action=simplesearch&exactname=yes&searchuser=$searchuser"><img src="images/find.gif" border=0 alt="Find more posts by $username"></a>
<a href="editpost.php?action=editpost&postid=$postid"><img src="images/edit.gif" border=0 alt="Edit/Delete Message"></a>
<a href="newreply.php?action=newreply&postid=$postid"><img src="images/quote.gif" border=0 alt="Reply w/Quote"></a>
<smallfont></smallfont>

I have put an AIM name and ICQ# in my profile there and it doesn't work. Of course, I'm running 1.1.1 since I can't run the 1.1.2 Dev yet. Could this be the problem?

if you want to see, Click Here (http://216.247.232.129/showthread.php?threadid=6369)

Martin
Sun 14th May '00, 8:04am
no wonder it wouldn't show. I was in Privacy Mode.

hehehe

sorry about that...