1
Kalobotz
Does spotlight allow users to view it in News?
  • 2005/1/2 21:26

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


Does Spotlight or another module allow users to view all of the latest additions to other modules in a News type format?



2
Kalobotz
Getting modify errors with Koivi eidor
  • 2004/12/6 16:41

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


I have coded in the koivi editor within this form and when I press the modify button, to modify the review, it places a new review post instead of replacing the old like the original form does.

echo "<table>";
        echo 
"<form method=post action=index.php>";
        echo 
"<tr><td>"._MD_FILEID."</td><td><b>$lid</b></td></tr>";
        echo 
"<tr><td>"._MD_FILETITLE."</td><td><input type=text name=title value="$title" size=50 maxlength=100></input></td></tr>n";

        echo 
"<tr><td>"._MD_DLURL."</td><td><input type=text name=url value="$url" size=50 maxlength=100></input></td></tr>n";
        echo 
"<tr><td>"._MD_HOMEPAGEC."</td><td><input type=text name=homepage value="$homepage" size=50 maxlength=100></input></td></tr>n";

        echo 
"<tr><td>"._MD_CATEGORYC."</td><td>";
        
$mytree->makeMySelBox("title""title"$cid);

        
//TR EDIT: Koivi Editor and File Upload
        
echo "<tr><td align="right"nowrap>"._MD_SHOTIMAGE."</td><td>n";
        echo 
"<input type="text" name="logourl" value="$logourl" size="50" maxlength="60" value="">n"
        echo 
"<input type='button' value='Upload' onclick='javascript:openWithSelfMain("".XOOPS_URL."/modules/myReviews/upload.php?img_path=$img_path&target=logourl&logo=1&target2=cimgwidth&target3=cimgheight","upload",450,450);' />n";
        echo 
"<tr><td align="right"></td><td>";
        
$directory XOOPS_URL."/modules/myReviews/images/shots/";
        
printf(_MD_MUSTBEVALID,$directory);
        echo 
"</td></tr>n";
    
        
//echo  "<input type="hidden" name="op" value="addDownload"></input>";
        
echo "<tr><td align="right" valign="top" nowrap>"._MD_DESCRIPTIONC."</td><td>n";
        
$sform = new XoopsThemeForm_MD_DESCRIPTIONC"storyform""index.php" );
        
$hidden_element = new XoopsFormHidden('op''addDownload');
        
$sform->addElement$hidden_element );
        
$wysiwyg_text_area = new XoopsFormWysiwygTextArea(_MD_DESCRIPTIONC'description'$description '100%''400px','');
        
$wysiwyg_text_area->setUrl("/class/wysiwyg");
        
$sform->addElement$wysiwyg_text_area ); 
        
$button_tray = new XoopsFormElementTray'''' );
        
$button_tray->addElement( new XoopsFormButton'''submit'_MD_MODIFY'submit') );
        
$sform->addElement$button_tray);
        
$sform->display();

        echo 
"</td></tr>n";
        echo 
"</td></tr>n";
        echo 
"</table>";
        echo 
"</form>n";
    echo 
"<table><tr><td>n";
    echo 
myTextForm("index.php?op=delDownload&lid=".$lid _MD_DELETE);
    echo 
"</td><td>n";
    echo 
myTextForm("index.php?op=booksConfigMenu"_MD_CANCEL);
    echo 
"</td></tr></table>n";
        echo 
"<hr>";



3
Kalobotz
Re: Is a Directory module available?
  • 2004/11/27 19:13

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


The Content Relations Manager looks like the one that would best work but it doesn't seem to go into every directory. Is this true and I can't find the MyLinks module as well as the Supermodule that was suposed to be being created.

https://xoops.org/modules/repository/singlefile.php?cid=62&lid=1221



4
Kalobotz
Is a Directory module available?
  • 2004/11/27 18:29

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


I am looking for a module to give me access to any or, all available, links within the CMS. Users should be able to add or remove their links with a side-block menu. Each new directory they are in should allow them create a new link menu. The links should connect to every available directory and sub-directory in all installed modules.

Can this be done with the MyLinks, Multimenu, or the newer supermodule?



5
Kalobotz
Using PHP5 and XML in Xoops
  • 2004/10/24 17:51

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


Will you be classing everything in XOOPS 2.2.? OOP programming styles consider only classes and container types to be object types and not functions?
Does classing everything allow you to not have to use includes and I really think using the most interfaces as possible will keep things speedy so you don’t have to recreate entire objects.
Also, I use C# and it's garbage collector. How does that play into PHP 5 and XOOPS?
Will there be allot of Deconstruction use unlike C# because of it’s Garbage collector?
Dees PHP do events?
Will everything have proper XML documentation for my intellisense?



6
Kalobotz
How do I do a delete button with the XoopsForm class?
  • 2004/10/22 19:53

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


Here's my code so far and only the delete button isn't calculating. How do I mix the delete button in with the XoopsForm class?

echo  "<input type="hidden" name="op" value="addDownload"></input>";
echo 
"<tr><td align="right"nowrap>"._MD_SHOTIMAGE."</td><td>n";
echo 
"<input type="text" name="logourl" value="$logourl" size="50" maxlength="60">n"
echo 
"<input type='button' value='Upload' onclick='javascript:openWithSelfMain("".XOOPS_URL."/modules/myReviews/upload.php?img_path=$img_path&target=logourl&logo=1&target2=cimgwidth&target3=cimgheight","upload",450,450);' />n";
echo 
"<tr><td align="right"></td><td>";
$directory XOOPS_URL."/modules/myReviews/images/shots/";
printf(_MD_MUSTBEVALID,$directory);
echo 
"</td></tr>n";
echo 
"<tr><td align="right" valign="top" nowrap>"._MD_DESCRIPTIONC."</td><td>n";
$sform = new XoopsThemeForm_MD_DESCRIPTIONC"storyform""index.php" );
$wysiwyg_text_area = new XoopsFormWysiwygTextArea(_MD_DESCRIPTIONC'description'$description '100%''400px','');
$wysiwyg_text_area->setUrl("/class/wysiwyg");
$sform->addElement$wysiwyg_text_area ); 
$button_tray = new XoopsFormElementTray'''' );
$button_tray->addElement( new XoopsFormButton'''submit'_MD_APPROVE'submit' ) );
$sform->addElement$button_tray );
$sform->display();
//}
//echo "<textarea name=description cols="60" rows="5">$description</textarea>n";
//
echo "</td></tr>n";
echo 
"</table>n";
echo 
myTextForm("index.php?op=delNewDownload&lid=$lid",_MD_DELETE);
echo 
"<br><br>";



7
Kalobotz
Re:myReviews v2.1 module update!
  • 2004/10/17 15:05

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


I am getting this error with SQL debugging on in the SPAW pages:

SELECT articleidtitle FROM xoops_wfs_article ORDER BY title
Error number
1146
Error message
Table 'thinkres_xoop1.xoops_wfs_article' doesn't exist 
SELECT storyid, title FROM xoops_stories ORDER BY title
Error number: 1146
Error message: Table '
thinkres_xoop1.xoops_stories' doesn't exist


I don't have wfsections installed

Here is the full code

Here is the whole SQL output:

SELECT FROM xoops_config WHERE (conf_modid AND conf_catid 1ORDER BY conf_order ASC 
SELECT sess_data FROM xoops_session WHERE sess_id 
'b50fe3ac6e65d4a2bcc2cecf590e7415' 
SELECT FROM xoops_users WHERE uid=
SELECT 
FROM xoops_modules WHERE dirname 'myReviews' 
SELECT FROM xoops_config WHERE (conf_modid 9ORDER BY conf_order ASC 
SELECT 
FROM xoops_modules WHERE dirname 'spaw' 
SELECT articleidtitle FROM xoops_wfs_article ORDER BY title
Error number
1146
Error message
Table 'thinkres_xoop1.xoops_wfs_article' doesn't exist 
SELECT storyid, title FROM xoops_stories ORDER BY title
Error number: 1146
Error message: Table '
thinkres_xoop1.xoops_stories' doesn't exist 
SELECT 
FROM xoops_config WHERE (conf_modid AND conf_catid 3ORDER BY conf_order ASC 
SELECT COUNT
(*) FROM xoops_banner 
SELECT 
FROM xoops_banner LIMIT 1
UPDATE xoops_banner SET impmade 
impmade+1 WHERE bid 
SELECT DISTINCT gperm_itemid FROM xoops_group_permission WHERE gperm_name 
'block_read' AND gperm_modid AND gperm_groupid IN (1,2
SELECT b.* FROM xoops_newblocks bxoops_block_module_link m WHERE m.block_id=b.bid AND b.isactive=AND b.visible=AND m.module_id IN (0,9) AND b.bid IN (1,2,3,4,5,6,7,8,9,10,11,12,36,37,38,33,34,35ORDER BY b.weight,b.bid 
SELECT COUNT
(*) FROM xoops_priv_msgs WHERE (read_msg AND to_userid 1
SELECT FROM xoops_modules WHERE (hasmain AND isactive AND weight 0ORDER BY weight ASCmid ASC 
SELECT 
FROM xoops_group_permission WHERE (gperm_name 'module_read' AND gperm_modid AND (gperm_groupid OR gperm_groupid 2)) 
SELECT COUNT(*) FROM xoops_online WHERE online_uid=
UPDATE xoops_online SET online_updated
=1098027064online_module 9 WHERE online_uid 
SELECT 
FROM xoops_online 
SELECT COUNT
(*) FROM xoops_online WHERE online_module 
SELECT 
FROM xoops_myReviews_reviews WHERE lid=AND reviewuser=
SELECT cid FROM xoops_myReviews_downloads WHERE lid
=
SELECT rid
ratingcat FROM xoops_myReviews_ratingcat WHERE cid=
SELECT title FROM xoops_myReviews_downloads WHERE lid
=
SELECT review FROM xoops_myReviews_reviews WHERE lid
=AND reviewuser=
SELECT rating FROM xoops_myReviews_votedata WHERE lid
=AND ratinguser=
SELECT rating
ratingcat FROM xoops_myReviews_votecat WHERE lid=AND ratinguser=1 ORDER BY ratingcat 
Total
28 queries 

Blocks 
User Menu
No Cache 
Login
No Cache 
Main Menu
No Cache 
Who
's Online: No Cache 
Total: 4 blocks 

Execution Time 
XOOPS took 0.31595897674561 seconds to load.


Looks like this may have something to do with the SPAW module. I'll just put in a custom SPAW.



8
Kalobotz
Re:myReviews v2.1 module update!
  • 2004/10/17 13:30

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


It doesn't seem like the Reviw ID numbers are showing up anywhere



9
Kalobotz
Re:myReviews v2.1 module update!
  • 2004/10/17 3:37

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


Actually, I'm getting both now. Working fine. I will continue work and I think I want to put the screenshot uploader into the Manage Reviews area, as well, for the admin. I'm also putting in an option to not allow reg users to write a review.



10
Kalobotz
Re:myReviews v2.1 module update!
  • 2004/10/17 1:04

  • Kalobotz

  • Not too shy to talk

  • Posts: 133

  • Since: 2004/5/26


I have a fresh install and database for 2.07. I only have the myReviews and System module installed. I have the PHP debugger on but no errors anywhere.
Finally, at least “Review Info Modification Requests”
is working but for some weird wacky reason not “Review Submissions”
Review Submissions used to work in the beginning.
I’ll keep poking around.

I like your Avatar. I remember seeing Back to the Future in the Movie Theatre when I was 10 in the 1985 and Doc turning around like that and saying “Marty!”
Was that scene at the twin pines shopping center?




TopTop
(1) 2 3 4 ... 13 »



Login

Who's Online

189 user(s) are online (147 user(s) are browsing Support Forums)


Members: 0


Guests: 189


more...

Donat-O-Meter

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

Latest GitHub Commits