741
Anonymous
New Arabic Xoops Sites
  • 2004/12/25 9:47

  • Anonymous

  • Posts: 0

  • Since:


Hello,

I designed 2 arabic websites based on XOOPS :

Golden Wool Company

Aldaleel Newspaper

Hosted by Hosts4all



742
Anonymous
Re: Happy Christmas (with sounds) :-)
  • 2004/12/23 18:40

  • Anonymous

  • Posts: 0

  • Since:


Happy Christmas sounds



743
Anonymous
Re: Duplicate module index.php
  • 2004/12/23 14:48

  • Anonymous

  • Posts: 0

  • Since:


Hello limecity .. thanks for ur reply :)
I'm talking in general how i can hide blocks from edit php files.
By the way .. i solve it i make new empty module and from admin. area i visible the blocks in this module then make new link in main menu to wf-section.



744
Anonymous
Re: Downgrade from news 1.2.1 to 1.1
  • 2004/12/23 11:15

  • Anonymous

  • Posts: 0

  • Since:


ok .. i solve my problem by myself and still working on news 1.2.1



745
Anonymous
Downgrade from news 1.2.1 to 1.1
  • 2004/12/23 9:12

  • Anonymous

  • Posts: 0

  • Since:


Hello,

How i can downgrade News module 1.2.1 to 1.1 until 1.2.1 be fixed because i have problem with premissions after install news 1.2.1, anynoe can approve new even he/she have no permission and also main permission effected, if i make access right for suer some module admin, he can access to another module admin.



746
Anonymous
Re: AMS topic image
  • 2004/12/23 8:48

  • Anonymous

  • Posts: 0

  • Since:


i means when i drop down the combo box, will look lie this :
1.gif
2.gif
3.gif
Show no image

so i can select "show no image" if i don't want image for my topic.



747
Anonymous
Re: Duplicate module index.php
  • 2004/12/23 7:51

  • Anonymous

  • Posts: 0

  • Since:


thanks Mithrandir for ur reply


i'm just want blocks not appear in php page, so what the line inside this php file must be disable ?
Quote:
<?php
include "header.php";
include_once WFS_ROOT_PATH . "/include/functions.php" ;
include_once WFS_ROOT_PATH . "/class/wfsarticle.php";
include_once WFS_ROOT_PATH . "/class/wfsindex.php";
include_once XOOPS_ROOT_PATH . "/class/xoopstree.php";

global $xoopsModuleConfig, $wfsTemplates, $wfsPathConfig;

$catid = (isset($_GET['category']) && ereg("^[0-9]{1,}$", $_GET['category'])) ? $_GET['category'] : 0;
$op = isset($_GET['category']) ? "category" : "default";
$start = isset($_GET['start']) ? intval($_GET['start']) : 0;

switch ($op)
{
/**
* Start of main category index listings
*/
case "default":
default:

include_once(XOOPS_ROOT_PATH . "/header.php");
$xoopsOption['template_main'] = $wfsTemplates['catindex'];

$catarray = array();
$index = new WfsIndex(1);

$catarray['imageheader'] = $index->imageheader("S");
$catarray['indexheading'] = $index->indexheading("S");
$catarray['indexheader'] = $index->indexheader("S");
$catarray['indexfooter'] = $index->indexfooter("S");
$catarray['indexheaderalign'] = $index->indexheaderalign();
$catarray['indexfooteralign'] = $index->indexfooteralign();

$sarray = WfsArticle::getAllArticle(5, 0, 'online|spotlightmain', 0, 0, "published DESC");
$count = 0;
foreach ($sarray as $articles)
{
if ($articles->spotlightmain == 2 && $count == 0)
{
$feature["summary"] = $articles->summary("S");
$feature["artlink"] = $articles->textLink("S");
$feature["date"] = $articles->published("S");
$feature["cat"] = $articles->category->textLink('', 0, 'viewarticles.php');
$feature["image"] = $articles->articleimg("S", 2);
$feature["author"] = $articles->uname("S");
$feature["more"] = $articles->morelink("S");
$xoopsTpl->assign('featured', $feature);
$count = 1;
}
else
{
$features["summary"] = $articles->summary("S");
$features["artlink"] = $articles->textLink("S");
$features["date"] = $articles->published("S");
$features["cat"] = $articles->category->textLink('', 0, 'viewarticles.php');
$features["image"] = $articles->articleimg("S", 4);
$features["author"] = $articles->uname("S");
$features["more"] = $articles->morelink("S");
$xoopsTpl->append('features', $features);
}
}
/**
* display categories/sections
*/

$xt = new WfsCategory();
$categorys = $xt->getFirstChild();
$i = 0;
foreach($categorys as $onecat)
{
if ($onecat->status() != 1)
continue;

$recurse = 0; //$recurse = ($xoopsModuleConfig['submenus']) ? 0 : 1;
$num = WfsArticle::countByCategory($onecat->id, 0, $recurse) ;

$category['num'] = $num;
$category['catid'] = $onecat->id();
$category['title'] = $onecat->textLink('', 1, 'viewarticles.php');
$category['sectionimage'] = $onecat->imgLink();
$category['imgalign'] = $onecat->imgalign("S");

if ($xoopsModuleConfig['showartlistings'] == 1 || $xoopsModuleConfig['showartlistings'] == 3)
{
$category['description'] = $onecat->description('S');
}
if ($num > 0)
{
if ($xoopsModuleConfig['showartlistings'] == 2 || $xoopsModuleConfig['showartlistings'] == 3)
{
$artarray = WfsArticle::getAllArticle($xoopsModuleConfig['showartlistamount'], 0, 'online', $onecat->id());
foreach ($artarray as $articles)
{
$status = ($articles->changed() > 0) ? 1 : 0;
$category['icons'] = wfs_displayicons($articles->created(), $status, $articles->counter());
$category['content'][] = array('articlelink' => "<li>" . $articles->textLink(). " ". $category['icons']);
}
}
$updated = WfsArticle::getLastChangedByCategory($onecat->id());
$category['updated'] = ($updated) ? formatTimestamp($updated , $xoopsModuleConfig['timestamp']) : "";
}
$xoopsTpl->append('categories', $category);
unset($category);

/**
* sub sections
*/
if ($xoopsModuleConfig['submenus'] == 1)
{
$deps = 1;
$childcat = $onecat->getFirstChild();

if ($childcat)
{
foreach($childcat as $subonecat)
{
if ($subonecat->status() == 0)
continue;

$deps ++;
$num = WfsArticle::countByCategory($subonecat->id());
$category['num'] = $num;
$category['catid'] = $subonecat->id();
$category['title'] = str_repeat("&nbsp;", $deps) . " : " . $subonecat->textLink('', 1, 'viewarticles.php') . "";
$category['sectionimage'] = $subonecat->imgLink();
$category['imgalign'] = $subonecat->imgalign("S");

if ($xoopsModuleConfig['showartlistings'] == 1 || $xoopsModuleConfig['showartlistings'] == 3)
{
$category['description'] = $subonecat->description('S');
}
if ($num > 0)
{
if ($xoopsModuleConfig['showartlistings'] == 2 || $xoopsModuleConfig['showartlistings'] == 3)
{
$artarray = WfsArticle::getAllArticle($xoopsModuleConfig['showartlistamount'], 0, 'online', $subonecat->id());
foreach ($artarray as $articles)
{
$category['content'][] = array('articlelink' => "<li>" . $articles->textLink());
}
}
$updated = WfsArticle::getLastChangedByCategory($subonecat->id());
$category['aupdated'] = ($updated) ? formatTimestamp($updated , $xoopsModuleConfig['timestamp']) : "";
}
$xoopsTpl->append('categories', $category);
unset($category);
}
}
}
}
$xoopsTpl->assign('lang_sponser', _WFS_SPONSER);
$xoopsTpl->assign('lang_author', _WFS_AUTHER);
$xoopsTpl->assign('lang_updated', _WFS_LASTUPDATE);
$xoopsTpl->assign('lang_articles', _WFS_ARTICLES);
$xoopsTpl->assign('lang_category', _WFS_CATEGORY);
$xoopsTpl->assign('lang_readmore', _WFS_READMORE);
$xoopsTpl->assign('lang_listarticles', _WFS_LISTARTICLES);
$xoopsTpl->assign('lang_listfeatured', _WFS_FEATUREDARTS);
$xoopsTpl->assign('lang_listsections', _WFS_SECTIONLISTIN);
$xoopsTpl->assign('catarray', $catarray);
break;
}
$xoopsTpl->assign("xoops_module_header", '<link rel="stylesheet" type="text/css" href="wfsection.css" />');
include_once 'footer.php';

?>



748
Anonymous
AMS topic image
  • 2004/12/23 7:19

  • Anonymous

  • Posts: 0

  • Since:


Hello,

when i want to add new topic in topics manager, it's enforce me to select image for new topic but i don't need it, so how i can add topic without image ?




749
Anonymous
Re: Duplicate module index.php
  • 2004/12/22 21:26

  • Anonymous

  • Posts: 0

  • Since:


Hi ..

how i can hide blocks that visibled via admin. area ?



750
Anonymous
prem news 1.2.1
  • 2004/12/22 21:15

  • Anonymous

  • Posts: 0

  • Since:


Hello,

i use news 1.2.1 , and make 3 topics and each topic have admin user, but admin of topic "A" can submit and aprove news in topic "B".

i make groups and permissions well.
plz help




TopTop
« 1 ... 72 73 74 (75) 76 77 78 ... 82 »



Login

Who's Online

123 user(s) are online (81 user(s) are browsing Support Forums)


Members: 0


Guests: 123


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