Search found 22 matches
- 1. November 2008 15:16
- Forum: board3 Portal v1.0.x - Modifications in Dev
- Topic: BETA Custom News Block
- Replies: 15
- Views: 36951
BETA Custom News Block
I have been working on a custom news block that displays a compact recent news item of any singular forums. I have it so far that it takes you to the forum of a last post but not to the last post in that forum. So the link generated would be something like; http://web site/viewtopic.php?f2&t=26 ...
- 27. October 2008 15:39
- Forum: Modifications Support
- Topic: A Block I am working on
- Replies: 9
- Views: 12853
Re: A Block I am working on
Sorted it thanks Kevin.
I hadn't thought about releasing this block but if there is interest then I could release it once completed.
Will give you more info about it when I get a working version finished.![Zwinkern ;)](./images/smilies/icon_e_wink.gif)
I hadn't thought about releasing this block but if there is interest then I could release it once completed.
Will give you more info about it when I get a working version finished.
![Zwinkern ;)](./images/smilies/icon_e_wink.gif)
- 24. October 2008 10:48
- Forum: Modifications Support
- Topic: A Block I am working on
- Replies: 9
- Views: 12853
Re: A Block I am working on
tried the following to connect $offset = ($pageNum - 1) * $rowsPerPage; $sql = "SELECT * FROM phpbb_reviews LIMIT $offset, $rowsPerPage"; $result = $db->sql_query($sql); got this error [phpBB Debug] PHP Notice: in file /portal/block/reviews.php on line 14: mysql_connect() [function.mysql-c...
- 23. October 2008 21:37
- Forum: Modifications Support
- Topic: A Block I am working on
- Replies: 9
- Views: 12853
Re: A Block I am working on
what is the best and safest way to run the sql for this block, i know there are built in db connections and certain ways to query the database. I have two queries; 1. the alternative to the way i tested this I believe I don't require. $con = mysql_connect("localhost","root","...
- 23. October 2008 13:37
- Forum: Modifications Support
- Topic: A Block I am working on
- Replies: 9
- Views: 12853
Re: A Block I am working on
Thanks for the quick reply buddy. Works a treat. ![Zwinkern ;)](./images/smilies/icon_e_wink.gif)
![Zwinkern ;)](./images/smilies/icon_e_wink.gif)
- 23. October 2008 13:13
- Forum: Modifications Support
- Topic: A Block I am working on
- Replies: 9
- Views: 12853
A Block I am working on
A little guidance please. i have created this in the portal/blocks folder called reviews.php // how many rows to show per page $rowsPerPage = 2; // by default we show first page $pageNum = 1; // if $_GET['page'] defined, use it as page number if(isset($_GET['page'])) { $pageNum = $_GET['page']; } //...
- 17. September 2008 21:13
- Forum: Small talk
- Topic: just saying hello
- Replies: 0
- Views: 4365
just saying hello
Hello everyone, just a quick hello and thank you to all the team for the hard work in developing this mod. Some may know me from around so hi ![Überglücklich :D](./images/smilies/icon_e_biggrin.gif)
![Überglücklich :D](./images/smilies/icon_e_biggrin.gif)