771
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 14:44

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


dang it, this was the easiest thing to do and it worked out! you should have seen me readin a "how to create a new block" guide and trying to stuff all the custom content in it
Mind anchors



772
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 13:47

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


where do i take new files from? XOOPS 2.3? or just click an update icon in the modules/administration?
Mind anchors



773
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 13:33

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


i've turned on the debug mode and got this: Warning [Xoops]: Smarty error: unable to read resource: "db:system_block_dummy.html" in file class/smarty/Smarty.class.php line 1084.
Mind anchors



774
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 12:54

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


yeah but how do i fix the blocks problem guys...
Mind anchors



775
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 12:04

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


yeah but what should i do anyways to enable custom and who's online blocks? i don't really want to update to 2.3 because when i tried to it screwed up all the profiles i had so nobody could even logon. so i decided to stick with my current XOOPS version.
Mind anchors



776
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 11:38

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


ghia, are you sure you provided the right link? I don't even have /class/textsanitizer/image/config.php only module.textsanitizer.php file and how is this connected to the problem? maybe because i was mistaken, i run XOOPS 2.2.3 sorry for typo
Mind anchors



777
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 10:10

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


i restored newblocks table from the db backup but it didn't solve the problem. none of the previously discussed solutions didn't work either...
Mind anchors



778
deka87
Re: Content of all custom blocks has disappeared - titles still present.
  • 2008/12/19 10:02

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


i use XOOPS 2.2.4 and faced the same problem. dummy and who's online blocks has been cleared.
Mind anchors



779
deka87
System blocks doesn't work
  • 2008/12/19 4:54

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


hi,

i've got a problem regarding system blocks (i.e. dummy, who's online etc.). Yesterday it worked alright, but tody when I checked my site i just found it not working. I checked /admin/templates/ and tried to generate them again but it says "Selected file does not exist)" though they do. I had the same problem with smartsection module and all i had to do is to update the module. what might get wrong with that?
Mind anchors



780
deka87
Re: Notifications based on criteria
  • 2008/12/19 4:27

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


I am a bit confused.

So what I've got to do is to add ghia's code first

$sql '
SELECT * FROM '
.$this->db->prefix('xoopsnotifications').
LEFT JOIN '
.$this->db->prefix('user_profile').
 ON not_uid = profileid 
WHERE
 not_modid = '
.$mod_id.' AND
 not_itemid = '
.0.' AND
 not_category = '
."'global'".' AND
 not_event = '
."'ads_submit'".' AND
 ((source_language <> '
.$ads->getVar('ads_lang1').') OR
  (target_language <> '
.$ads->getVar('ads_lang2').'))';


then the one provided by trabis

$user_list = array('1','23','134');//do this your way
$notification_handler->triggerEvent('global'0'ads_submit'$tags$user_list);


but im not sure what i've got to write in

array('1','23','134')
Mind anchors




TopTop
« 1 ... 75 76 77 (78) 79 80 81 ... 96 »



Login

Who's Online

102 user(s) are online (70 user(s) are browsing Support Forums)


Members: 0


Guests: 102


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