Go Back   PHP Link Directory Forum > PHP Link Directory (phpLD) > Mods and contribution Discussion

Mods and contribution Discussion This forum is only for discussion of modding phpLD. For specific mod releases, please see the appropriate forum.

Closed Thread
 
topic widgets
Old 06-25-2006   #21
Optimit
Supporter
 
Join Date: Dec 2005
Posts: 1,243
Default

Get it from VsDan's website. If you look at many of the mods in the complete mod list, you will see how to get to his list of mods.
Optimit is offline  
Old 06-25-2006   #22
KartKorner
Supporter
 
Join Date: May 2006
Posts: 293
Default

Thanks Opt. just stopped by and picked it up Now time to learn something new....heh
KartKorner is offline  
Old 10-07-2006   #23
2bet
 
Join Date: May 2006
Posts: 78
Default

ok, i have the rate mod installed, which works, but when i try and add this image mod, I just show the
Code:
Content visible to registered users only.
under each listing. I have uploaded the images in the root of the directory, so the image location is correct, just can't seem to get the script to pull and show them. Here is my link.tpl code incase i have something wrong:

Code:
Content visible to registered users only.


im using version the most recent copy of version 2 for this directory, www.69blogs.com/submit <--- mainly adult listings, so i want to warn everyone before opening this directory.
__________________
White Paper
2bet is offline  
Old 10-08-2006   #24
potyka
 
Join Date: Apr 2006
Posts: 35
Default

Hy!

Somebody gives back is aware of base mod installing? What where does he fit?
potyka is offline  
Old 10-08-2006   #25
2bet
 
Join Date: May 2006
Posts: 78
Default

Code:
Content visible to registered users only.
bump for help
__________________
White Paper
2bet is offline  
Old 10-08-2006   #26
potyka
 
Join Date: Apr 2006
Posts: 35
Default

Image Based Rating System Mod
This I thought so.tuck in does not operate the link.tpl and..does he stand?do you rewrite something?

Last edited by David; 06-22-2010 at 11:49 PM.
potyka is offline  
Old 10-08-2006   #27
potyka
 
Join Date: Apr 2006
Posts: 35
Default

{if $link.RATE eq '10.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE eq '0.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE eq ''}
Code:
Content visible to registered users only.
{elseif $link.RATE le '0.50'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '1.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '1.50'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '2.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '2.50'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '3.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '3.50'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '4.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '4.50'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '5.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '5.50'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '6.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '6.50'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '7.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '7.50'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '8.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '8.50'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '9.00'}
Code:
Content visible to registered users only.
{elseif $link.RATE le '9.50'}
Code:
Content visible to registered users only.
{else}
Code:
Content visible to registered users only.
{/if}


In the link.tpl does not team I tucked this code- but kéne does not operate what I to do so that does he operate?

Last edited by potyka; 10-08-2006 at 05:54 PM.
potyka is offline  
Old 10-08-2006   #28
2bet
 
Join Date: May 2006
Posts: 78
Default

Code:
Content visible to registered users only.
ok, bumping again for bottom spot
__________________
White Paper
2bet is offline  
Old 10-09-2006   #29
VSDan
Supporter
Moderator
 
VSDan's Avatar
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 1,184
Default

Hi:

You need to change image URLs. For example:

change:
Code:
Content visible to registered users only.
to:
Code:
Content visible to registered users only.
* change URL to images if it differs on your server
__________________
Dan

phpLD Mods :: phpLD_Vault
Webmaster Resources Directory
phpLD_Vault Support

IMPORTANT NOTE:
phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions!
VSDan is offline  
Old 10-09-2006   #30
2bet
 
Join Date: May 2006
Posts: 78
Default

Code:
Content visible to registered users only.
Your assistance is Greatly appreciated... Thank you!!
__________________
White Paper
2bet is offline  
Old 10-09-2006   #31
VSDan
Supporter
Moderator
 
VSDan's Avatar
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 1,184
Default

You're welcome =) I've got to fix the original post - the image tags may have been messed up under the old board (phpBB).
__________________
Dan

phpLD Mods :: phpLD_Vault
Webmaster Resources Directory
phpLD_Vault Support

IMPORTANT NOTE:
phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions!
VSDan is offline  
Old 10-09-2006   #32
potyka
 
Join Date: Apr 2006
Posts: 35
Default

Thx!!!
Every ok! already only the link vote ought to start.

His here code I tuck in what the link.tpl in ...

<tr><td colspan="2"><p style="clear: both;"><a id="" href=""></a> <span class="url"></span></p><p></p><p></p></td></tr><tr><td class="label"><span class="req">*</span>Rating:</td><td class="field"><select name="NEW_RATE"><option label="1" value="1" selected="selected">1</option><option label="2" value="2">2</option><option label="3" value="3">3</option><option label="4" value="4">4</option><option label="5" value="5">5</option><option label="6" value="6">6</option><option label="7" value="7">7</option><option label="8" value="8">8</option><option label="9" value="9">9</option><option label="10" value="10">10</option></select>
</td></tr><tr><td colspan="2" class="buttons"><input name="submit" value="Link &eacute;rt&eacute;kel&eacute;se" class="btn" type="submit"></td></tr>
</p>


Is the problem?
potyka is offline  
Old 10-09-2006   #33
VSDan
Supporter
Moderator
 
VSDan's Avatar
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 1,184
Default

To use in link.tpl:

1. Wrap in FORM tags
Code:
Content visible to registered users only.
2. Add the following also between the FORM tags:

Code:
Content visible to registered users only.
__________________
Dan

phpLD Mods :: phpLD_Vault
Webmaster Resources Directory
phpLD_Vault Support

IMPORTANT NOTE:
phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions!
VSDan is offline  
Old 10-11-2006   #34
potyka
 
Join Date: Apr 2006
Posts: 35
Default

This now error I have I fixed all message! :(
Notice: SmartyValidate: [validate plugin] form 'rate_link_form' is not registered. in /var/www/virtual/xxxx/htdocs/libs/smarty/plugins/function.validate.php on line 49
potyka is offline  
Old 10-11-2006   #35
VSDan
Supporter
Moderator
 
VSDan's Avatar
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 1,184
Default

Hi:

Can you post URL where I can see it action, so I can replicate the error. Thanks.
__________________
Dan

phpLD Mods :: phpLD_Vault
Webmaster Resources Directory
phpLD_Vault Support

IMPORTANT NOTE:
phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions!
VSDan is offline  
Old 10-12-2006   #36
VSDan
Supporter
Moderator
 
VSDan's Avatar
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 1,184
Default

Looks like you are using someone else's rating mod. Can you post your rate.php.
__________________
Dan

phpLD Mods :: phpLD_Vault
Webmaster Resources Directory
phpLD_Vault Support

IMPORTANT NOTE:
phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions!
VSDan is offline  
Old 10-12-2006   #37
VSDan
Supporter
Moderator
 
VSDan's Avatar
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 1,184
Default

Complicated. Simplest solution is to edit rate.php by changing:

Code:
Content visible to registered users only.
to:

Code:
Content visible to registered users only.
No longer any IP checking to prevent multiple rating from same person. You can edit IP checking to revised code.
__________________
Dan

phpLD Mods :: phpLD_Vault
Webmaster Resources Directory
phpLD_Vault Support

IMPORTANT NOTE:
phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions!
VSDan is offline  
Old 10-12-2006   #38
potyka
 
Join Date: Apr 2006
Posts: 35
Default

Parse error: parse error, unexpected $ in /var/www/virtual/xxx.hu/htdocs/rate.php on line 94


The code operates did not dare I may spoil something the editing ..If you send does he not capture do I request you editorially?

Last edited by potyka; 11-06-2006 at 04:26 PM.
potyka is offline  
Old 10-14-2006   #39
potyka
 
Join Date: Apr 2006
Posts: 35
Default

please help my!
potyka is offline  
Old 10-14-2006   #40
VSDan
Supporter
Moderator
 
VSDan's Avatar
 
Join Date: Sep 2005
Location: Vancouver, BC, Canada
Posts: 1,184
Default

You edited rate.php incorrectly. I need to see your revised rate.php.
__________________
Dan

phpLD Mods :: phpLD_Vault
Webmaster Resources Directory
phpLD_Vault Support

IMPORTANT NOTE:
phpLD_Vault Support not handled in this forum AND not via PM here. Click on link above for support. NO exceptions!
VSDan is offline  
Closed Thread

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
topic widgets



All times are GMT +1. The time now is 12:57 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.