PHP-Nuke Services - Addons, Modules, Blocks Vizitati www.westdesign.ro Select Interface Language:EnglishRomanian
  Login or Register HomeForumsDownloadsYour AccountWeb LinksContact   
SectionsShow\Hide
MultiheadlinesShow\Hide
LoginShow\Hide
~ Welcome, alien
Nickname Password
(Register)

~ Membership:

Greetings to the newest member jincesoft
~ New Today: 0
~ New Yesterday: 0
~ Overall: 4306

~ People Online:
~ Visitors: 9
~ Members: 0
~ Total: 9
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 17 May


Speed Up   Pause   Speed Down
DictionaryShow\Hide
Enter the word

Romanian users only

- aikons.net - PHP-Nuke Services Forum Index


This topic is locked: you cannot edit posts or make replies. Page 1 of 1
images in a block
Message Author
Reply with quote
Post Posted: Friday 14 April, 2006 15:47

How do you show the logo images in a block?

this worked in 1.0 but not 2.0

Code:
<img src=\"modules/Multiheadlines/images/logos/".$image["urls_image"]."\" width=\"60\" height=\"20\" hspace=\"10\">


View user's profile Send private message
Reply with quote
Post Posted: Friday 14 April, 2006 16:22

Sure it works in 2.0 too. Here on site works....[or I don't understand what are you asking for].
When creating a new block just select if you want or not to show the logos in block. Simple.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Friday 14 April, 2006 18:05

Maybe I am missing somthing in my block, I cant post my block here.

Any chance you could put a block in the downloads section that just shows a list of feeds from 1 category

View user's profile Send private message
Reply with quote
Post Posted: Friday 14 April, 2006 19:56

Marquee or scroll blocks doesn't exist.

The coresponding files for that kind of blocks are created dinamically when you create a block in [MH Blocks administration panel], that's why you have to CHMOD to 777 of /blocks folder].

If you have created a block it will look something like this block-Multiheadlines-1.php [block-Multiheadlines-2.php, block-Multiheadlines-3.php] into blocks folder.

So delete all the MH blocks [created by you into this new version] who doesn't please you and make another [delete them from MH Blocks Management Panel].

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Friday 14 April, 2006 21:02

Cool Very Happy

View user's profile Send private message
Reply with quote
Post Posted: Friday 14 April, 2006 21:15

Wink

But don't forget after you created the blocks CHMOD back to previous permision for /blocks folder.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Sunday 23 April, 2006 20:39

We were getting the same issue with logo's not showing in Marquee blocks only in Scrolling blocks.

Changed the following line to match the scrolling block query,
From:
Code:
$image = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_multiheadlines_urls WHERE urls_site='".$row["news_site"]."'"));


to:
Code:
$image = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_multiheadlines_urls WHERE urls_id='".$row["news_site"]."'"));


View user's profile Send private message
Reply with quote
Post Posted: Sunday 23 April, 2006 23:49

Quote:
We were getting the same issue with logo's not showing in Marquee blocks only in Scrolling blocks.

Because you were using a block designed for MH 1.0 in MH 2.0.

In MH 2.0 there isn't such a problem.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 23 August, 2007 19:50

I had a similar problem... perhaps my problem is that I also was using a version 1 block with version 2 module. (If so, perhaps you can direct me to where the version 2 scrolling and marquee blocks can be downloaded from.) In any case, I was able to fix it with a slight change in the block...

Code:

//$image = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_multiheadlines_urls WHERE urls_site='".$row["news_site"]."'"));

//changed urls_site to urls_categ
$image = $db->sql_fetchrow($db->sql_query("SELECT * FROM ".$prefix."_multiheadlines_urls WHERE urls_categ='".$row["news_site"]."'"));


not sure how kosher my change was, but it is working for me for now.

aikon rox. this website rox. thanks Exclamation

View user's profile Send private message Send e-mail Visit poster's website
Reply with quote
Post Posted: Thursday 23 August, 2007 21:08

Very Happy Very Happy
From nowhere.
You can build your own blocks marquee or scroll[unlimited] within Mh admin panel->Multiheadlines Block Management.

Aikon wrote:
Marquee or scroll blocks doesn't exist.

The coresponding files for that kind of blocks are created dinamically when you create a block in [MH Blocks administration panel], that's why you have to CHMOD to 777 of /blocks folder].

If you have created a block it will look something like this block-Multiheadlines-1.php [block-Multiheadlines-2.php, block-Multiheadlines-3.php] into blocks folder.

So delete all the MH blocks [created by you into this new version] who doesn't please you and make another [delete them from MH Blocks Management Panel].


Read this please.

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Thursday 23 August, 2007 23:06

i spoke too soon... sorry. the above change only partially worked. Sad guess i have more investigating to do. OH, Wait... Nevermind! i see your reply now... Thanks! i'll try that then instead. thanks for the quick reply. that makes sense. later =)

View user's profile Send private message Send e-mail Visit poster's website
Reply with quote
Post Posted: Thursday 23 August, 2007 23:15

I used the tools you provided in the module to create those blocks... freakin awesome!! your code is so thorough and user-friendly. i love it. sorry for the noob questions. (i should have read a bit more before i wasted your time. sorry.)

thanks again. i'm very impressed with your code.

late

View user's profile Send private message Send e-mail Visit poster's website
Reply with quote
Post Posted: Friday 24 August, 2007 09:45

No problem. Thanks for your kind words.

View user's profile Send private message Visit poster's website
Display posts from previous:
This topic is locked: you cannot edit posts or make replies. Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Page Generation: 0.57 Seconds