61
simeon
Re: Aqua/OS X
  • 2005/3/20 14:00

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18


maybe you'll like the fiapple theme
https://xoops.org/modules/library/singlefile.php?cid=2&lid=281

you can see it running with just small changes onhttp://www.samurize.org



62
simeon
Re: Font used in NewBB buttons
  • 2005/3/12 12:39

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18


HILOGINREG.ttf

thanks for using the icons

sime



63
simeon
Re: Winter7 theme ?
  • 2005/3/1 9:45

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18





64
simeon
Re: BLOCK Module
  • 2005/3/1 9:40

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18


dont you think its a bit too much to ask a question tree times a day?the more often you ask the less chance to get an answer.

open the xoops_versions located in your modules folder an serch for "has main"



65
simeon
Re: playing with a styleswitcher
  • 2005/2/28 18:28

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18


lol sure includes.php is was my fail.you need to include switch.php

what happens if you call the switch.php directly?does it write the cookie?

i got problems with that too but think i got it cause it runs on all my sites.normally theres nothing to do wrong with that cookie thing.



66
simeon
Re: Using different themes on different pages
  • 2005/2/28 17:33

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18


i dont know whether this is possible but how to get different CSS for each module.if this could help you!?



67
simeon
Re: playing with a styleswitcher
  • 2005/2/28 9:39

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18


now, here it is.i hope it works for everybody

maybe someone could be so kind as to post suggestions about the code.im no coder therefore i cant say anything ´bout quality or security things.im glad that it works (for me)

thanks in advanced

//1. /themes/yourtheme/switch.php

<?php
  $set 
$_GET['set'];
  
$set preg_replace('#[^a-zA-Z0-9_-]#'''$set);
  
setcookie ('style'$settime()+31536000'/''yoursite.com''0');
  
header("Location: $HTTP_REFERER");
?>


//2. /themes/yourtheme/theme.html  -> before line 1

<{php}>
  include_once XOOPS_URL.'/themes/yourtheme/switch.php';

  if ( isset($_COOKIE['style'])) {
    $sstyle = $_COOKIE['style'];
    $GLOBALS['xoopsTpl']->assign( 'xoops_sstyle', $sstyle);

  } else {
    $sdefault = 'style';
    $GLOBALS['xoopsTpl']->assign( 'xoops_sstyle', $sdefault);
  }
<{/php}>


//3. /themes/yourtheme/theme.html  -> relpace the default theme css link with

<link rel="stylesheet" type="text/css" media="screen" href="<{$xoops_imageurl}><{$xoops_sstyle}>.css" />


//4. wherever :) -> switch-link , replace "style" with the css name you want to switch
examples

<a href="<{$xoops_imageurl}>switch.php?set=style1">Style1</a>
<a href="<{$xoops_imageurl}>switch.php?set=style2">Style2</a>



68
simeon
Re: playing with a styleswitcher
  • 2005/2/25 22:29

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18


wenn noch bis morgen wartest bekommst nen funktionierenden switcher mit cookie ;)



69
simeon
Re: Style switcher wont work
  • 2005/2/15 10:37

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18


wenns in deutsch auch passt mach ich das sehr gern ;)
Ich schreibs zusammen und schicks dir wenn mir deine mail addy gibs.
freu mich wenn ich helfen kann
sime



70
simeon
Re: Style switcher wont work
  • 2005/2/15 9:15

  • simeon

  • Not too shy to talk

  • Posts: 104

  • Since: 2003/12/18


hi michael

thanks first
i saw that session thing too.maybe i shouldnt use the shortest way everytime ;)
[ger]wär halt schon schick gewesen das mit fünf zeilen code gebacken zu bekommen *g*
danke nochmal[/ger]

sime




TopTop
« 1 ... 4 5 6 (7) 8 9 »



Login

Who's Online

228 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 228


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits