Nulla facilisi. Ut turpis

Nulla facilisi. Ut turpis. Fusce rhoncus metus vel lorem. Maecenas quis metus. Suspendisse venenatis quam at ligula. Duis eu velit vel lacus consectetuer sagittis. Mauris ullamcorper. Curabitur quam mi, pretium ac, cursus sit amet, faucibus accumsan, lorem. Fusce lobortis, augue at vehicula tempus, lorem erat luctus pede, nec lobortis felis quam a ipsum. Sed et purus. Nam eu ante sed nunc sollicitudin tempus. Ut fringilla. Mauris rutrum augue et libero cursus viverra. Donec consequat. Suspendisse quam purus, sagittis eget, tempor luctus, ullamcorper eu, lectus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras urna. In ut elit. Nulla libero enim, facilisis quis, pulvinar quis, suscipit sodales, mi.

[dev] block for listing items from Eqdkp on your website.

Releases & Support on Mods for Portal XL 5.0 Premod. Use English language only in the main forums please.
Forum rules
READ: portalxl.nl Board-Wide Rules.
Keywords for this topic
dev, website, config, place, wrong, your, listing, for, block, eqdkp, items, from, upload, refresh, function

Re: [dev] block for listing items from Eqdkp on your website.

Postby DaMysterious » 24 Dec 2009 03:38

Ghosty wrote:im afraid i cant follow you now DaMysterious :)
plz explain further :)


In the Admin Panel
Go to Posting/BBCodes
Like example:
BBCode usage : [item]{TEXT}[/item]
HTML replacement : [item]{TEXT}[/item]


Refresh caches!
User avatar
DaMysterious

Administrator
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 
Offline

Curabitur ac lorem et

 
The following user would like to thank DaMysterious for his post:  Users Information

Share on ...

Share on FacebookShare on TwitterShare on TuentiShare on SonicoShare on FriendFeedShare on OrkutShare on DiggShare on MySpaceShare on DeliciousShare on Technorati

Re: block for listing items from Eqdkp on your website.

Postby Ghosty » 24 Dec 2009 04:12

DaMysterious wrote:
Ghosty wrote:now i currently use
Code: Select all
$itemportal .= '<td><a href="http://www.wowhead.com/?item='.$info['game_itemid'].'">'.$info['item_name'].'</a></td>'; 

witch only provides me with a item hover over information :)


Add the title tag to the href, fill with appropriate values and it will show up while hoovering.
Code: Select all
title=""


The hover over is not the problem :) that is coverd by the header function.

Code: Select all
<script src="http://www.wowhead.com/widgets/power.js"></script>


the problem is that it looks like it looks now and i want it to look like this http://www.seventuralyon.com/dkp/listit ... &p=history
as you can see with nice icons and colord text and so on :)

BBcode is already in place since i use almost daily on the forum :)

BBCode usage : [item]{TEXT}[/item]
HTML replacement : [item]{TEXT}[/item]
but for some strange reason it dus not parse the [item] [/item] tags :|
Image
The world is one big city and Mankind there citizens.
User avatar
Ghosty

Freak
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 

Re: [dev] block for listing items from Eqdkp on your website.

Postby Ghosty » 24 Dec 2009 04:39

Latest loot mod for eqdkp users.
This mod is still in development but this is a sneak peak.
Enjoy

What dus the mod do ? : it enables you to show your latest loot on your portal page by just setting up a block for it latest loot ( can be found in the drop down menu of manage portal blocks after uploading content )

Current styles supported : Prosilver.
language : English
example : http://www.seventuralyon.com ( Right hand side )

latest_loot_v1.rar
latest loot v1
(7.63 KiB) Downloaded 11 times
Image
The world is one big city and Mankind there citizens.
User avatar
Ghosty

Freak
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 

Re: [dev] block for listing items from Eqdkp on your website.

Postby Ghosty » 24 Dec 2009 17:58

Removed the database connection info to a more secure area phpbbroot/last_loot/config.php
since most servers don't allow to dir a config file.

if you have V1 installed just upload the v1.01 to your phpbbroot and overwrite the files :)
but don't forget to fill out config.php in phpbbroot/last_loot/config.php

if you have the V1 installed you can simple copy and past the code from last_loot.php
to your phpbbroot/last_loot/config.php

Code: Select all
<?
// *************************************************************
// *************************************************************
// *************   Change to your setting     ******************
// *************************************************************
// *************************************************************



$item_dbhost           = 'localhost';  // mostly localhost.

$item_dbname           = ' ';  // database name.

$item_dbuser           = ' '; // database user.

$item_dbpass           = ' ';  // database password.

$item_list            = ' '; //amount of items you want listed must be atleast 1
                  
$item_prefix         = 'eqdkp_'; //prefix you use for your Eqdkp database


// *************************************************************
// *************************************************************
// *************   Change to your setting     ******************
// *************************************************************
// *************************************************************
?>


latest_loot_v1.01.rar
(8.03 KiB) Downloaded 10 times


enjoy and a merry X-miss to you all :)
Image
The world is one big city and Mankind there citizens.
User avatar
Ghosty

Freak
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 

Re: [dev] block for listing items from Eqdkp on your website.

Postby Ghosty » 24 Dec 2009 18:54

now working on error handling :) will post when ready PS: cristmas dinner party soon so don't wait up for me :p
Image
The world is one big city and Mankind there citizens.
User avatar
Ghosty

Freak
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 

Re: [dev] block for listing items from Eqdkp on your website.

Postby Ghosty » 25 Dec 2009 04:08

Error handling almost done :D ( The add-on is really getting some shape now)
but i don't want to keep it in English alone :)
how do i call on the default language of the board ?
and how do i import it into my latest_loot.php ?

already figurer out i need to make a array

Code: Select all

<?php
/**
*
* Latest loot [English]
*
* @author Ghosty
*
* @package phpBB Latest Loot
* @version CVS/SVN: $Id: $
* @copyright (c) 2009 Ghosty
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

if (empty($lang) || !is_array($lang))
{
    
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters you may want to copy&paste:
// ’ » “ ” …
//


$lang array_merge($lang, array(
    
'TEST_1'                => 'This is test 1',
);
?>


copied it by studying a other language file already in-place on the portal :)
i could be wrong off course :)
Image
The world is one big city and Mankind there citizens.
User avatar
Ghosty

Freak
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 

Re: [dev] block for listing items from Eqdkp on your website.

Postby DaMysterious » 25 Dec 2009 12:38

Variables in language file \en\mods\portal_xl.php is perfect. Definitions are available board-wide. No deed to make a new array if for portal use.

Example:
search
Code: Select all
   /**
   * DO NOT REMOVE or CHANGE (text translation is allowed)!
   */


add before
Code: Select all
   // Listitem for portal   
   'TEST_1'   => 'This is test 1',
User avatar
DaMysterious

Administrator
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 
The following user would like to thank DaMysterious for his post:  Users Information

Re: [dev] block for listing items from Eqdkp on your website.

Postby Ghosty » 26 Dec 2009 01:03

Moved the Mod From [Dev] to [Beta] stage

latest-loot-t1397.html
Image
The world is one big city and Mankind there citizens.
User avatar
Ghosty

Freak
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 

Re: [dev] block for listing items from Eqdkp on your website.

Postby Ghosty » 27 Dec 2009 13:04

How would i even remotely start to add my addon to .mod ?already writing my second(latest raids) mod and with the config editing its not optimal. I want the users to be able to adjust it in the admin cp .mod tab like any other mod :)
Image
The world is one big city and Mankind there citizens.
User avatar
Ghosty

Freak
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 

Re: [dev] block for listing items from Eqdkp on your website.

Postby Ghosty » 30 Dec 2009 04:57

DaMysterious wrote:Variables in language file \en\mods\portal_xl.php is perfect. Definitions are available board-wide. No deed to make a new array if for portal use.

Example:
search
Code: Select all
   /**
   * DO NOT REMOVE or CHANGE (text translation is allowed)!
   */


add before
Code: Select all
   // Listitem for portal   
   'TEST_1'   => 'This is test 1',



After some research i finally figerd out how i could add my own language files.
instead of just adding them to some of your work DaMysterious.
Don't get me wrong its not that i don't wanted it to add to your file but i rather work stand-alone
so if peeps want to remove or update my addon that they can simple just remove all my files without
editing yours with the array of my words added :)
Or visa versa if you would update the portal my add-on would be broke :D

But im still trying to make a acp_ for it but thats still a bit of a dark spot for me.
any howto or starter information you can provide me with ?
Image
The world is one big city and Mankind there citizens.
User avatar
Ghosty

Freak
 
Users Information Users Information
 

Show post links

Offline

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Integer non velit. Nunc dictum, turpis eleifend feugiat eleifend, nunc justo molestie ante, quis volutpat enim sem a enim. Suspendisse mauris. Integer sit amet elit. Pellentesque egestas mollis pede. Morbi id felis. Nulla facilisi. Aenean rutrum risus eget tellus. In nec urna ac metus tincidunt fringilla. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Cras dolor. Phasellus et felis. Sed eu nisi.
 

Nulla orci

Nulla orci. Fusce molestie libero in enim. Vivamus in ante gravida enim sodales consectetuer. Nunc nisi quam, feugiat id, blandit sit amet, congue eget, turpis. Aenean placerat odio non massa. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Donec cursus sapien imperdiet quam. Mauris tincidunt orci hendrerit enim. Proin blandit sodales purus. Vestibulum nec nisl sed ligula eleifend tincidunt. Aenean et enim ac erat luctus elementum. Duis sagittis. Integer vestibulum nulla a diam.
PreviousNext

Who is online

Users browsing this forum: No registered users and 0 guests

Return to XL 5.0 Premod Mods

 Cumulus Tags

Anything in here will be replaced on browsers that support the canvas element

 Affiliates
XAMPP
XAMPP
OpenSSL
OpenSSL
Voltrix Designs
Voltrix Designs
La prima comunità europea dedicata a Portal XL in italiano
La prima comunità europea dedicata a Portal XL in italiano
cron