Author Topic: How to hide a part of the page?  (Read 14247 times)

0 Members and 1 Guest are viewing this topic.

Offline Schublero

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Currywürste Mannheim
How to hide a part of the page?
« on: October 23, 2005, 07:42:40 PM »
Hi,
as you can see at   mannheim. funpic. de   there is a forum integrated into the page. How is it possible, that this forum is only visible to registered users? How can I hide it?
Remark: I searched a lot inside different forums, but didn't find any solution so far..

Thanks a lot!

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How to hide a part of the page?
« Reply #1 on: October 23, 2005, 10:01:00 PM »
try use {if user_loggedin} and {endif user_loggedin} tags in the template.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Schublero

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Currywürste Mannheim
Re: How to hide a part of the page?
« Reply #2 on: October 24, 2005, 01:23:47 AM »
That seems to be a good idea, tried it. But know the forum doesnt appear even if logged in. How come? Direction seems right, but how to correct this little problem? Thanks so far!!

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to hide a part of the page?
« Reply #3 on: October 24, 2005, 10:37:02 AM »
@ Schublero

Code: [Select]
{if user_loggedin}
<iframe name=Forum src="http://mannheim.ma.funpic.de/Forum/main.php"
 frameborder=2 marginwidth=0 marginheight=0 scrolling=yes height=250 width=700>
</iframe>
{endif user_loggedin}

... das sollte nicht funktionieren ...  :?:

Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Schublero

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Currywürste Mannheim
Re: How to hide a part of the page?
« Reply #4 on: October 24, 2005, 11:04:06 AM »
That is exactly what I did. But using this the forum is hidden even if logged in. How may I solve it?

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to hide a part of the page?
« Reply #5 on: October 24, 2005, 12:01:52 PM »
...  :?:
{if user_loggedin} = {if user}

dann versuche mal dieses : {if user}<iframe>...</iframe>{endif user}
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Schublero

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Currywürste Mannheim
Re: How to hide a part of the page?
« Reply #6 on: October 24, 2005, 01:09:31 PM »
Hat nicht geklappt. In meiner whos_online.html steht es so:

{if user} <iframe name=Forum src="http://mannheim.ma.funpic.de/Forum/main.php"
 frameborder=2 marginwidth=0 marginheight=0 scrolling=yes height=250 width=700>
</iframe> {endif user}

Da ist immer noch der Wurm drin, denn es wird gar nicht mehr angezeigt, egal ob eingeloggt oder nicht.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to hide a part of the page?
« Reply #7 on: October 24, 2005, 01:16:08 PM »
positioniere den iFrame mal direkt in der home.html ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Schublero

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Currywürste Mannheim
Re: How to hide a part of the page?
« Reply #8 on: October 24, 2005, 01:21:50 PM »
Dann bekomme ein interessantes Problem, denn es zerschießt mir scheinbar die ganze Seite. Schaus mal an mannheim.funpic.de
 Das hatte ich schon mal, als ich lediglich den multiupload-button hinzufügen wollte, musste ich aufgeben. Woran liegt denn das..?

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to hide a part of the page?
« Reply #9 on: October 24, 2005, 02:02:39 PM »
Woran liegt denn das..?

an deinem html-Editor ... (Microsoft Word 11 ... ?) ... der erzeugt automatisch neue Styles, ... sowie jede Menge Code-Müll in deinen Templates ... ! Zum Bearbeiten der Templates verwende lieber den Editor im APC bzw. einen einfachen Textdeditor, Webeaver o.d.gl., dann gibt es auch nicht diese Probleme ...  :!:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Schublero

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Currywürste Mannheim
Re: How to hide a part of the page?
« Reply #10 on: October 24, 2005, 02:20:52 PM »
PERFEKT! Daran hat es gelegen.. Habe alles einfach mit demEditor versucht, und es klappt. VIELEN DANK!
Aber wenn wir schon dabei sind.. habe gleich mal versucht die categories.html zu "entmüllen" und dann multiupload_button hinzuzufügen, aber da zerschießt es die Seite immer noch.. Noch ne Idee? Das kann ich ja nicht in der Home machen, da der Button ja nur in den Kategorien erscheinen soll.

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to hide a part of the page?
« Reply #11 on: October 24, 2005, 02:43:49 PM »
.. habe gleich mal versucht die categories.html zu "entmüllen" und dann multiupload_button hinzuzufügen, aber da zerschießt es die Seite immer noch..

wenn du diesen MOD installieren willst, so sind ja noch weitere Files zu editieren ... dazu dann auch den Editor verwenden ... und weitere Fragen zu diesem MOD kannst du dann hier posten ...  :wink:
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Schublero

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Currywürste Mannheim
Re: How to hide a part of the page?
« Reply #12 on: October 24, 2005, 03:23:03 PM »
Da habe ich es schon versucht, aber leider keine Hilfe bekommen, und hier scheint irgendwie Kompetenz vorhanden!

Meinem Verständnis nach liegt das Problem mit dem Zerschießen doch in den Html dateien oder? Die sind aber jetzt alle clean, trotzdem vertragen sie den multiupload-button irgendwie nicht..

Offline Schublero

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • Currywürste Mannheim
Re: How to hide a part of the page?
« Reply #13 on: October 24, 2005, 03:29:48 PM »
Problem hat sich von selbst gelöst. Habe nochmals alles gemacht, jetzt klappt ALLES!! VIelen Dank nochmals, der entscheidende Hinweis war der, nur mit dem Editor und nicht mit Word o.ä. zu arbeiten.
Einfach toll..  :D