PDA

View Full Version : Wordpress


leecher
5th December 2012, 11:33 AM
what can please noc fo be an error?


Warning: include(toplist///toplist2.html) [function.include]: failed to open
stream: No such file or directory in /home/streampa/public_html/wp-content/plugins/php-code-widget/execphp.php(44) : eval()'d code on line 1

leecher
5th December 2012, 11:59 AM
hello times a question templates which is it? what I use here bekomm not so easy to go there as have the :-(

ICEFIRE
6th December 2012, 03:09 PM
For wordpress you will have to include the full path to the toplist file or just make sure that the toplist directory is in the same directory as the wp index.php file.

In any case, it's very template dependant. If you use the full path it will always work.

in your case it may look like:


include ("/home/streampa/public_html/toplist/toplist2.html");

leecher
7th December 2012, 05:00 PM
this is my templates I use, just as I get there please the command target = "_blank" pure?

Sorry that I ask so stupid but this is all new for me

leecher
7th December 2012, 05:01 PM
<table width="250" border="0" cellspacing="0" cellpadding="0">
</tr>
<tr>
<td width="80%"><font size="2">01. ##link1##</font></td>
<td width="20%" align="center"><font size="2">##in1##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">02. ##link2##</font></td>
<td width="20%" align="center"><font size="2">##in2##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">03. ##link3##</font></td>
<td width="20%" align="center"><font size="2">##in3##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">04. ##link4##</font></td>
<td width="20%" align="center"><font size="2">##in4##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">05. ##link5##</font></td>
<td width="20%" align="center"><font size="2">##in5##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">06. ##link6##</font></td>
<td width="20%" align="center"><font size="2">##in6##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">07. ##link7##</font></td>
<td width="20%" align="center"><font size="2">##in7##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">08. ##link8##</font></td>
<td width="20%" align="center"><font size="2">##in8##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">09. ##link9##</font></td>
<td width="20%" align="center"><font size="2">##in9##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">10. ##link10##</font></td>
<td width="20%" align="center"><font size="2">##in10##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">11. ##link11##</font></td>
<td width="20%" align="center"><font size="2">##in11##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">12. ##link12##</font></td>
<td width="20%" align="center"><font size="2">##in12##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">13. ##link13##</font></td>
<td width="20%" align="center"><font size="2">##in13##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">14. ##link14##</font></td>
<td width="20%" align="center"><font size="2">##in14##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">15. ##link15##</font></td>
<td width="20%" align="center"><font size="2">##in15##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">16. ##link16##</font></td>
<td width="20%" align="center"><font size="2">##in16##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">17. ##link17##</font></td>
<td width="20%" align="center"><font size="2">##in17##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">18. ##link18##</font></td>
<td width="20%" align="center"><font size="2">##in18##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">19. ##link19##</font></td>
<td width="20%" align="center"><font size="2">##in19##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">20. ##link20##</font></td>
<td width="20%" align="center"><font size="2">##in20##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">21. ##link21##</font></td>
<td width="20%" align="center"><font size="2">##in21##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">22. ##link22##</font></td>
<td width="20%" align="center"><font size="2">##in22##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">23. ##link23##</font></td>
<td width="20%" align="center"><font size="2">##in23##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">24. ##link24##</font></td>
<td width="20%" align="center"><font size="2">##in24##</font></td>
</tr>
<tr>
<td width="80%"><font size="2">25. ##link25##</font></td>
<td width="20%" align="center"><font size="2">##in25##</font></td>
</tr>
<tr> <td><hr><a href="/trade.php" title="In Partnerliste eintragen" target="_blank" ><font size="3"><strong> Link eintragen</strong></font></a></td>
</tr>
</table>

ICEFIRE
7th December 2012, 07:37 PM
You must use some of the more elaborated templates for target="_blank"

The simple templates with just ##link123## will generate a very simple link with no options.

Take a look at the complex templates that will allow you to manage every aspect of the out.php link.

For example, something like:


<a href="/out.php?link=trade-top&trade=##sitedomain5##" target="_blank">##sitename5##</a>


Just take a look at the template for example.