#1 (permalink)  
Old 07.02.2007, 18:35
Neuer Benutzer
 
Join Date: 01.2007
Location: zu Hause
Posts: 17
Rep Power: 6
Wildthinks is on a distinguished road
Frage Wie kann man vbcms in bestimmten Foren ausblenden?
Hi,

hab hier ein Forum mit Subforen, wo ich die linke Spalte auch ausblenden möchte...
Welche Möglichkeiten habe ich?
Danke
http://www.swishzone.de/swish-tutorials-_neu_/

Wt
Reply With Quote
  #2 (permalink)  
Old 07.02.2007, 21:10
Surviver's Avatar
Super Moderator
 
Join Date: 03.2006
Posts: 816
Rep Power: 10
Surviver is just really niceSurviver is just really niceSurviver is just really niceSurviver is just really nice
Hallo, Wildthinks. Ja dies ist möglich, Allerdings muss dazu eine kleine Änderung in einem Plugin durchgeführt werden.

ACP -> Plug-ins & Produkte -> Plugins verwalten -> vBCMS forum output (Einstiegspunkt global_complete.

Ersetze den Inhalt dieses Plugins mit folgendem:

PHP Code:
$excludeifids '5';

if(
$vbulletin->options['vbcms_forum_active'] AND !defined('vbcms_forum_include') AND !defined('SCRIPTGLOBAL') AND !defined('NOVBCMSMODULE') AND !defined('NOPMPOPUP') AND in_array(THIS_SCRIPTexplode("\r\n"$vbulletin->options['vbcms_forumareas'])))
{
    if((
$excludeifids AND ((THIS_SCRIPT == 'forumdisplay' AND !in_array($vbulletin->GPC['forumid'], explode(','$excludeifids))) OR THIS_SCRIPT != 'forumdisplay')) OR !$excludeifids)
    {
        global 
$vbcms;
        
define('vbcms_forum_include'true);
        
$custom_position =& $output;
        
$vbcms->get_custom_position($custom_position0$vbulletin->options['vbcms_forum_pos'], $vbulletin->options['vbcms_forummod_pos'], true);
        
$vbcms->get_global_modules($vbulletin->options['forum_active_modules']);
        
$vbcms->vbcms_output(0$vbulletin->options['f_last_sort'], $vbulletin->options['f_last_sort_active']);
    }


Bei $excludeifids steht jetzt 5, gebe dort die ID's der Foren an, mit Komma getrennt, wo das vBCMS nicht angezeigt werden soll.

Ich hoffe geholfen zu haben.

Gruß Julian
__________________


Ich gebe keinen Support für Anpassungen an meinen Modulen.
Reply With Quote
  #3 (permalink)  
Old 07.02.2007, 21:51
Neuer Benutzer
 
Join Date: 01.2007
Location: zu Hause
Posts: 17
Rep Power: 6
Wildthinks is on a distinguished road
Daumen hoch
Perfekt... danke...
Reply With Quote
  #4 (permalink)  
Old 08.02.2007, 08:58
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,869
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Ich würde ein eigenes Plugin dafür empfehlen, um den Originalcode nicht zu ändern, das macht Updates leichter.

Ich habe dir mal das Plugin angehängt.
Attached Files
File Type: xml no-module.xml (359 Bytes, 11 views)
Reply With Quote
  #5 (permalink)  
Old 08.02.2007, 09:13
vbdesigns Guru
 
Join Date: 10.2006
Age: 27
Posts: 672
Rep Power: 7
ragtek has a spectacular aura aboutragtek has a spectacular aura about
Send a message via ICQ to ragtek
danke für das plugin
ist viel sauberer als mein zamgewürfelter code den iich jetzt benutze
__________________
meine wunschliste würde mich freuen

mein blog
Reply With Quote
  #6 (permalink)  
Old 08.02.2007, 14:15
Neuer Benutzer
 
Join Date: 01.2007
Location: zu Hause
Posts: 17
Rep Power: 6
Wildthinks is on a distinguished road
Daumen hoch
Quote:
Originally Posted by Christian
Ich würde ein eigenes Plugin dafür empfehlen, um den Originalcode nicht zu ändern, das macht Updates leichter.

Ich habe dir mal das Plugin angehängt.

Hier fehlt der Danke -Button
DANKE
Reply With Quote
Reply

Lesezeichen

Thread Tools
Display Modes

Posting Rules
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist On.
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Navigationsleiste für Gäste ausblenden. Esposito Style- & Web Template Support 2 22.12.2006 14:54
Links nur bestimmten Gruppen anzeigen Esposito vBCMS® Fragen 11 15.12.2006 10:58
sidearbar ausblenden djeryk Style- & Web Template Support 33 19.09.2006 20:38
Sidebar ausblenden michaelk Style- & Web Template Support 7 03.09.2006 16:51
suche dringend ein bestimmten style rubberduck2006 Allg. phpBB Support 1 23.02.2006 22:23


Copyright © 2006, Reuter & Bloeß GbR.
| Datenschutz | Sitemap | Unsere Partner | Top |
Home Products Forum Über uns Support & FAQs
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Tipp: Fussball | Heilerde
Shopsystem, Shop System, CMS, Webkatalog mit vBCMS CMS