PDA

View Full Version : few simple questions :)


shzor
08-06-2006, 09:07 PM
Hi i just want to know

1) how i can use phpAdsNew in phpld?

2) what is code for user detail page like we use {LINK_TITLE} for link title in email .

3) how i can remove discription from reciprocal link coding? like mine is
"<a href="http://www.kingdomofurl.com">Kingdom Of URL</a> - Its free Human Edited Web-directory.you can easily promote your products & services to add your site in this directory.Add your site today & get a free featured Link.Add your favourite site now :)"

BUT i want to show like this

"<a href="http://www.kingdomofurl.com">Kingdom Of URL</a>"

Thx in advance :) .

Boby
08-06-2006, 09:14 PM
Hello

1) I have never used phpnewspro, but maybe someone else can help.
2) There is currently no email-variable to point to the detail page of an URL in an email. If you tell me what phpLD version you are using, I can try to help you.
3) To change the reciprocal link text, edit submit.tpl and look for following textarea where you just need to remove the description:
Content visible to registered users only.

Boby

shzor
08-06-2006, 09:42 PM
thx for helping me again
sorry it was phpAdsNew not phpnewspro
i m using 3.0.5

Neticus
08-07-2006, 03:05 AM
Content visible to registered users only.

To place PhpAdsNew code in a template file just add to whatever template file like so using {php} tags:

Content visible to registered users only.

At least I think your question is as straight forward as that. :)

shzor
08-07-2006, 10:52 PM
Thx alot Neticus
Boby still waiting for question 2 answer
"2) what is code for user detail page like we use {LINK_TITLE} for link title in email ."

shzor
08-08-2006, 12:10 AM
i used phpadsnew code its showing me this error

Content visible to registered users only.

Neticus
08-08-2006, 05:10 AM
Content visible to registered users only.


This PhpAdsNew code call works for me in template files:

Content visible to registered users only.

How are you calling your PhpAdsNew? If possible post an example of your adsnew code like I have above.

shzor
08-09-2006, 12:37 AM
i'll post that code tomorrow bcoz this time i m not able to login there

& boby plz help to find out a solution for this

2) what is code for user detail page like we use {LINK_TITLE} for link title in email ."

i told u that using 3.0.5

Boby
08-09-2006, 01:45 AM
Edit /include/functions.php and look for following code in the replace_email_vars function:
Content visible to registered users only.
Add this aftere the above code:
Content visible to registered users only.
You may now use {LINK_DETAIL_PAGE} as email variable that will point to the link's detail page. Works with URL rewrite on or off.

Boby

shzor
08-09-2006, 07:39 PM
hi did that but email is not working .. i mean when anyone submit a link he'll no get any email... plz check it by your self www.kingdomofurl.com ..if u get it working plz dorward that mail ...

Boby
08-09-2006, 08:15 PM
Well, that's another story :D
Have you checked this one? http://www.phplinkdirectory.com/forum/showthread.php?t=1967

Make sure email types are Link Owner Notif. and they are correctly setup.

shzor
08-09-2006, 08:18 PM
it was working

Boby
08-09-2006, 08:46 PM
I don't understand now ... is the email function working or not?

BTW ... I have submitted a test link before, it's http://lenya.apache.org, please remove it.

shzor
08-09-2006, 09:34 PM
ITS NOT WORKING FOR ME
does u recieve any kind of mail from kingdom of url ?

Boby
08-09-2006, 09:42 PM
Would you mind to give me access to your admin area via PM?

shzor
08-09-2006, 09:54 PM
i sent info

Boby
08-09-2006, 10:09 PM
Ok, I found your little problem :)

The emailer was configured to use sendmail and not PHP's mail function. You have probably changed it whitout notice :rolleyes:
System >> Edit Settings >> Emailer >> Emailer Method

I've set it now back to use PHP's mail function and it's working, just tested it.

Boby

shzor
08-09-2006, 10:33 PM
thx alot ....... :)

Boby
08-09-2006, 10:35 PM
You are welcome :)

Have you tested the link to detail page email variable? Is it working?

shzor
08-09-2006, 11:04 PM
no i didnt try it yet but soon i m going to check it.