Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 1 Year, 10 Months, 2 Days, 12 Hours, 56 Minutes, 5 Seconds ago Is there a code to disable to click links on a custom created page
#11
Solved: 1 Year, 10 Months, 2 Days, 12 Hours, 56 Minutes, 5 Seconds ago
PHP Code:
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<
tr>
<
td class="thead" colspan="6">
<
div><strong>Firmware Galaxy GT-I9000 laatste bovenaan ]</strong></div>
</
td></tr>
<
br>
<
TABLE BORDER="1" WIDTH="100%">
<
TR> <TH>PDA</TH> <TH>Android</TH> <TH>Datum</TH> <TH>CSC</TH> <TH>Info</TH> <TH>Kies</TH> <TH>Download link</TH> </TR>
<
TD>I9000XWJW5</TD> <TD>2.3.6</TD> <TD>2012 Maart</TD> <TD>I9000XENJV6</TD> <TD>KPN</TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"></TD> <TD><a href="http://www.hotfile.com/dl/153787593/2fe5854/I9000XWJW5_I9000KPNJV6_KPN.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<
TR> <TD>I9000XWJW5</TD> <TD>2.3.6</TD> <TD>2012 Maart</TD> <TD>I9000XENJV6</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"></TD> <TD><a href="http://www.hotfile.com/dl/153787914/fc690f7/I9000XWJW5_I9000XENJV6_XEN.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<
TR> <TD>I9000XWJW1 ##</TD> <TD>2.3.6</TD> <TD>2012 Januari</TD> <TD>I9000XENJV5</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"></TD> <TD><a href="http://hotfile.com/dl/146656733/6596139/I9000XWJW1_I9000XENJV5_XEN.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJW1 ##</TD> <TD>2.3.6</TD> <TD>2012 Januari</TD> <TD>I9000KPNJV5</TD> <TD>KPN</TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"></TD> <TD><a href="http://hotfile.com/dl/146672031/b6f8018/I9000XWJW1_I9000KPNJV5_KPN.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJVH ##</TD> <TD>2.3.3</TD> <TD>2011 Juni</TD> <TD>I9000KPNJV4</TD> <TD>KPN</TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"></TD> <TD><a href="http://hotfile.com/dl/146670119/55a1aad/I9000XWJVH_I9000KPNJV4_KPN.zip.html" target="_blank"><font color=blue>Download</a></TD> </TR>
<TR> <TD>I9000XWJVH ##</TD> <TD>2.3.3</TD> <TD>2011 Mei</TD> <TD>I9000XENJV4</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"></TD> <TD><a href="http://hotfile.com/dl/145761318/468739b/I9000XWJVH_-_I9000XENJV4.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJS7 ##</TD> <TD>2.2.1</TD> <TD>2011 Februari</TD> <TD>I9000XENJS3</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"></TD> <TD><a href="http://hotfile.com/dl/145675561/fc92a74/GT_I9000_XWJS7_XXJPY_XEEJS1.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJS5 ##</TD> <TD>2.2.1</TD> <TD>2011 Februari</TD> <TD>I9000XENJS3</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"></TD> <TD><a href="http://hotfile.com/dl/145652756/eac2ad2/I9000XWJS5.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
</TABLE>
De downloads zijn mede mogelijk gemaakt door: <a href="http://www.sammobile.com/" target="_blank"><font color=blue>Sammobile.com</font></a><br>
<
br>
<
br>
<
b><u>Extra info:</b></u><br>
<
img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"> = Kies update<br>
<
img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"> = Geen Kies update<br>
KPN Firmware van KPN<br>
Vodafone Firmware van Vodafone<br>
<
b>Wachtwoorden:</b><br>
## = samfirmware.com<br>
# = samsung-firmwares.com<br>
<br>
<
br>
<
strong>Flash Programma</strong>
<
TABLE BORDER="1" WIDTH="50%">
<
TR> <TH>Os</TH> <TH>Download link</TH>
<
TR> <TD>Android</TD> <TD><a href="http://www.mediafire.com/?er4i3zpv3opauiv" target="_blank"><font color=blue>Download</a></TD>
</
TABLE>
<
br>
<
strong>USB Drivers</strong>
<
TABLE BORDER="1" WIDTH="50%">
<
TR> <TH>Os</TH> <TH>Download link</TH>
<
TR> <TD>Android</TD> <TD><a href="http://hotfile.com/dl/133929348/9107244/SAMSUNG_USB_Driver_for_Mobile_Phones_v1_3_2300_0.zip.html" target="_blank"><font color=blue>Download</a></TD>
</
TABLE>
<
br>
<
br>
<
br>
<
br

This is the page I made, the option "Use MyBB Template?" is on "YES" so the header and footer etc is visible.

Thanks helping
[Image: 5dMOCPt.png]
Reply
#12
Solved: 1 Year, 10 Months, 2 Days, 12 Hours, 56 Minutes, 5 Seconds ago
try this:

Code:
<?php
global $headerinclude, $header, $theme, $footer, $lang;

if($mybb->user['uid']==0) error_no_permission();
if($mybb->user['uid']!=0)

{
$template='<html>
<head>
<title>'.$pages['name'].'</title>
{$headerinclude}
</script>
</head>
<body>
{$header}
<table border="0" cellspacing="1" cellpadding="4" class="tborder">
<tr>
<td class="thead" colspan="6">
<div><strong>Firmware - Galaxy GT-I9000 [ laatste bovenaan ]</strong></div>
</td></tr>
<tr><td>
<br>
<TABLE BORDER="1" WIDTH="100%">
<TR> <TH>PDA</TH> <TH>Android</TH> <TH>Datum</TH> <TH>CSC</TH> <TH>Info</TH> <TH>Kies</TH> <TH>Download link</TH> </TR>
<TD>I9000XWJW5</TD> <TD>2.3.6</TD> <TD>2012 Maart</TD> <TD>I9000XENJV6</TD> <TD>KPN</TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"></TD> <TD><a href="http://www.hotfile.com/dl/153787593/2fe5854/I9000XWJW5_I9000KPNJV6_KPN.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJW5</TD> <TD>2.3.6</TD> <TD>2012 Maart</TD> <TD>I9000XENJV6</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"></TD> <TD><a href="http://www.hotfile.com/dl/153787914/fc690f7/I9000XWJW5_I9000XENJV6_XEN.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJW1 ##</TD> <TD>2.3.6</TD> <TD>2012 Januari</TD> <TD>I9000XENJV5</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"></TD> <TD><a href="http://hotfile.com/dl/146656733/6596139/I9000XWJW1_I9000XENJV5_XEN.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJW1 ##</TD> <TD>2.3.6</TD> <TD>2012 Januari</TD> <TD>I9000KPNJV5</TD> <TD>KPN</TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"></TD> <TD><a href="http://hotfile.com/dl/146672031/b6f8018/I9000XWJW1_I9000KPNJV5_KPN.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJVH ##</TD> <TD>2.3.3</TD> <TD>2011 Juni</TD> <TD>I9000KPNJV4</TD> <TD>KPN</TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"></TD> <TD><a href="http://hotfile.com/dl/146670119/55a1aad/I9000XWJVH_I9000KPNJV4_KPN.zip.html" target="_blank"><font color=blue>Download</a></TD> </TR>
<TR> <TD>I9000XWJVH ##</TD> <TD>2.3.3</TD> <TD>2011 Mei</TD> <TD>I9000XENJV4</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"></TD> <TD><a href="http://hotfile.com/dl/145761318/468739b/I9000XWJVH_-_I9000XENJV4.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJS7 ##</TD> <TD>2.2.1</TD> <TD>2011 Februari</TD> <TD>I9000XENJS3</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"></TD> <TD><a href="http://hotfile.com/dl/145675561/fc92a74/GT_I9000_XWJS7_XXJPY_XEEJS1.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
<TR> <TD>I9000XWJS5 ##</TD> <TD>2.2.1</TD> <TD>2011 Februari</TD> <TD>I9000XENJS3</TD> <TD></TD> <TD><img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"></TD> <TD><a href="http://hotfile.com/dl/145652756/eac2ad2/I9000XWJS5.zip.html" target="_blank"><font color=blue>Download</a></font></TD> </TR>
</TABLE>
<div>
De downloads zijn mede mogelijk gemaakt door: <a href="http://www.sammobile.com/" target="_blank"><font color=blue>Sammobile.com</font></a><br>
<br>
<br>
<b><u>Extra info:</b></u><br>
<img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo.png"> = Kies update<br>
<img src="http://www.galaxyfreaks.nl/images/toplinks/kieslogo_g.png"> = Geen Kies update<br>
KPN = Firmware van KPN<br>
Vodafone = Firmware van Vodafone<br>
<b>Wachtwoorden:</b><br>
## = samfirmware.com<br>
# = samsung-firmwares.com<br>
<br>
<br>
</div>
<strong>Flash Programma</strong>
<TABLE BORDER="1" WIDTH="50%">
<TR> <TH>Os</TH> <TH>Download link</TH>
<TR> <TD>Android</TD> <TD><a href="http://www.mediafire.com/?er4i3zpv3opauiv" target="_blank"><font color=blue>Download</a></TD>
</TABLE>
<br>
<strong>USB Drivers</strong>
<TABLE BORDER="1" WIDTH="50%">
<TR> <TH>Os</TH> <TH>Download link</TH>
<TR> <TD>Android</TD> <TD><a href="http://hotfile.com/dl/133929348/9107244/SAMSUNG_USB_Driver_for_Mobile_Phones_v1_3_2300_0.zip.html" target="_blank"><font color=blue>Download</a></TD>
</TABLE>
<br>
<br>
<br>
<br>
</td></tr>
</table>
{$footer}
</body>
</html>';

$template=str_replace("\'", "'", addslashes($template));

add_breadcrumb($pages['name']);

eval("\$page=\"".$template."\";");

output_page($page);

}

?>

set the Use MyBB Template? to No.
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved

Reply
#13
Solved: 1 Year, 10 Months, 2 Days, 12 Hours, 56 Minutes, 5 Seconds ago
cool this works, if I now a guest and I on the page u can not see the page and u have the message to login or register...

One other question, can I also set a code that the page is fine visible but the links are not visible and a text to login or register or is this not available.

But this works great!!!!
[Image: 5dMOCPt.png]
Reply
#14
Solved: 1 Year, 10 Months, 2 Days, 12 Hours, 56 Minutes, 5 Seconds ago
Yes, I thought that was what you wanted - unfortunately to do that at the least it would need a custom page/template and then use php in templates/template conditionals to hide/redirect the links. That is a fair bit more work though.
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved

Reply
#15
Solved: 1 Year, 10 Months, 2 Days, 12 Hours, 56 Minutes, 5 Seconds ago
(11-03-2012, 04:20 PM)Leefish Wrote:  Yes, I thought that was what you wanted - unfortunately to do that at the least it would need a custom page/template and then use php in templates/template conditionals to hide/redirect the links. That is a fair bit more work though.

Yes I have templates/template conditionals plugin installed, is this not a code like

if($mybb->user['uid']==0) error_no_permission();
if($mybb->user['uid']!=0)


greatings
[Image: 5dMOCPt.png]
Reply
#16
Solved: 1 Year, 10 Months, 2 Days, 12 Hours, 56 Minutes, 5 Seconds ago
Try it Big Grin
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved

Reply
#17
Solved: 1 Year, 10 Months, 2 Days, 12 Hours, 56 Minutes, 5 Seconds ago
hmmm not found a working code yet, if I try I only get errors.
So someone a idee
[Image: 5dMOCPt.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)