How Can I have the scrolling links in my Portal ??

Support zum phpBB2 und zu MODs anderer Autoren.

Moderator: Supporter

Beitragvon mariocaz » 25. Jun 2005 23:42

My friend in this moment with just a little help of the instructions of the MOD of Oxpus I do my links scrolling jejejejeje :mrgreen:

See that:

www.all-reefs.com

But Now How I put the buttons ??? :|
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 26. Jun 2005 00:05

That is wath i mean!
Take the Q_Links and place the substitute symbol {BANNERxx} from the original in the tpl-part of the Q_Links to combine the funktions of the MODs. :mrgreen:
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon mariocaz » 26. Jun 2005 08:29

Thanks my friend I'll try that.

I did my banner links of the portal, scrolling and stop and start when you put or out your mouse of the links block

And I am ver happy for that.

The code than I put in my .tpl file is very similar that you have in your links block of your portal, is this:

Code: Alles auswählen
<marquee id="scroll_minibanners" behavior="scroll" direction="up" height="110" width="90" scrolldelay="0" scrollamount="2" onMouseOver="stop()" onMouseOut="start()">


Thanks a lot again!!

Regards,

Mario
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 26. Jun 2005 10:18

Great

You see it isn't difficult to do things like that. :mrgreen:
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon mariocaz » 26. Jun 2005 16:54

That is the reason because I know I can put the buttons in my links block.

And If I can put the buttons with my links block I will be more happy jejeje :mrgreen:

I am trying to find in the portal.php file the code of the banner links of the portal but I didn’t' find it and I don't know where can be. :cry:

I think if I find this code... I can put the code of the buttons there and then in the .tpl files put the other code for show it in the forum. :P

Is this the code that I have to put in the portal.php(or other) ?

Code: Alles auswählen
}

$template->assign_vars(array(
   'QL_GO' => '<a href="javascript:void(0);" onclick="scroll_minibanners.start(); scroll_minibanners.scrollAmount=2;"><img src="images/q_links/icon_up.gif" border="0" alt="Go"></a>&nbsp;',
   'QL_SPEED' => '<a href="javascript:void(0);" onclick="scroll_minibanners.start(); scroll_minibanners.scrollAmount=5;"><img src="images/q_links/icon_fast.gif" border="0" alt="Speed"></a>&nbsp;',
   'QL_SLOW' => '<a href="javascript:void(0);" onclick="scroll_minibanners.start(); scroll_minibanners.scrollAmount=1;"><img src="images/q_links/icon_slow.gif" border="0" alt="Slow"></a>&nbsp;',
   'QL_STOP' => '<a href="javascript:void(0);" onclick="scroll_minibanners.stop()"><img src="images/q_links/icon_stop.gif" border="0" alt="Stop"></a>')
);



And then is this code to have to put in my portal_body.tpl files ?

Code: Alles auswählen
<tr>
         <td class="row2" align="center">{QL_GO}{QL_SPEED}{QL_SLOW}{QL_STOP}</td>
      </tr>


And finally upload the buttons images that are in the MOD. :)

What can I do ?? :?

Thanx!!
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 26. Jun 2005 17:35

I understand not completely witch code you are searching.

The code that you have post now, is the code from this buttons:
Bild Bild Bild Bild

The Code from the Complete Banner MOD, that define the substitute symbols of the Banners, will be in the overal_header.php. So that the Banners can placed everywere in your board.
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon mariocaz » 26. Jun 2005 17:47

AmigaLink hat geschrieben:The Code from the Complete Banner MOD, that define the substitute symbols of the Banners, will be in the overal_header.php. So that the Banners can placed everywere in your board.



This is the code than I am searching. :wink:

Now in which part of the overall_header.tpl I have to put the code for the buttons ???

Added after 3 minutes:

:)

Added after 6 minutes:

Mmmmm but I think the code isn't in the overall_header because I saw in this file are the Banners {BANNER_1_IMG} to {BANNER_6_IMG} and the links banners for the portal are the {BANNER_16_IMG} to {BANNER_19_IMG} and the code for this Banners is in other file I think.

That is the reason than I thought that the code that I have to find is in the portal.php

What do you think ??

[center][ Attachment gelöscht am 26.06.2005, 18:50 von AmigaLink ][/center]

[center][ Attachment gelöscht am 26.06.2005, 18:50 von AmigaLink ][/center]
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 26. Jun 2005 17:58

We talk together past! :?

But i have understand now. :)

Replace
Code: Alles auswählen
<tr>
<td align="center" class="row2"><span class="gensmall">ezPortal by <a href="http://smartor.is-root.com/" target="_blank">Smartor</a></span></td>
</tr>
with
Code: Alles auswählen
<tr>
         <td class="row2" align="center">{QL_GO}{QL_SPEED}{QL_SLOW}{QL_STOP}</td>
      </tr>
in your portal_body.tpl files and put
Code: Alles auswählen
$template->assign_vars(array(
   'QL_GO' => '<a href="javascript:void(0);" onclick="scroll_minibanners.start(); scroll_minibanners.scrollAmount=2;"><img src="images/q_links/icon_up.gif" border="0" alt="Go"></a>&nbsp;',
   'QL_SPEED' => '<a href="javascript:void(0);" onclick="scroll_minibanners.start(); scroll_minibanners.scrollAmount=5;"><img src="images/q_links/icon_fast.gif" border="0" alt="Speed"></a>&nbsp;',
   'QL_SLOW' => '<a href="javascript:void(0);" onclick="scroll_minibanners.start(); scroll_minibanners.scrollAmount=1;"><img src="images/q_links/icon_slow.gif" border="0" alt="Slow"></a>&nbsp;',
   'QL_STOP' => '<a href="javascript:void(0);" onclick="scroll_minibanners.stop()"><img src="images/q_links/icon_stop.gif" border="0" alt="Stop"></a>')
);
in your portal.php before
Code: Alles auswählen
// Generate the page
$template->pparse('body');
:)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

Beitragvon mariocaz » 26. Jun 2005 18:15

jejeje ok now yes my friend!! :wink:

I did all that and also I uploaded the images of the buttons in the correct place :) but doesn't appears the buttons in the portal. :(
mariocaz
User
 
Beiträge: 148
Registriert: 9. Jun 2005 07:35

Beitragvon AmigaLink » 26. Jun 2005 18:43

I hate plus-boards. :(

Place the portal.php code after
Code: Alles auswählen
// End add  - Photo Album Block
and it works. :)
Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen. Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.
Benutzeravatar
AmigaLink
Administrator
 
Beiträge: 3987
Registriert: 11. Aug 2004 01:06
Wohnort: NRW

VorherigeNächste

Zurück zu phpBB2 Support



Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 5 Gäste

cron