Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 344
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 258
Total: 258

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Lum-chan

Pages: [1]
1
Support / Re: SMF Gallery Pro and tinyportal 1.0RC1
« on: January 19, 2012, 05:43:58 am »
Link below shows a fix in TP for use with SMF gallery

http://www.tinyportal.net/index.php?topic=34242.msg276667#msg276667

For the lazy people I have posted these fixes here below:

In TPortal.php find this:
Code: [Select]
function doTPcat()
{
//return if not quite a category
if(isset($_GET['action']) && $_GET['action'] == 'manageboards')
return;

Add after this:
Code: [Select]
if(isset($_GET['action']) && $_GET['action'] == 'gallery' && isset($_GET['cat']))
return;
if(isset($_GET['action']) && $_GET['action'] == 'links' && isset($_GET['cat']))
return;

This should do the trick!

Of course with thanks to IchBin of TinyPortal.net

2
Support / Re: SMF Gallery Pro and tinyportal 1.0RC1
« on: January 17, 2012, 02:58:27 am »
Found a solution after all. The main problem (at least for me) is the defination of the panels shown in the Category. When you don't select the panels to be visible in the category (in TP) this will cause random missing panels in the output of each gallery category itself (in Gallery Lite).

So selecting the panels you want to be visible in the TP Categories is very important. Still I don;t know why this only happens with SMF Gallery (Lite/Pro) and your SMF Links mod. The above just might be the solution to all these problems (and perhaps for other mods which work with categories too).

This works for SMF 2.x.x and TP 1.0RCx. There never was a problem with SMF 1.1.x with any TP1.0RCx, thou.

3
Support / Re: SMF Gallery Pro and tinyportal 1.0RC1
« on: September 23, 2011, 11:52:22 am »
It took me a complete afternoon to get my fingers at a temp solution. No I'm hoping the TP-Team can do something with this. As far as I know and can see, this would be a bug in TP but odd enough only with SMF Gallery/Links and probably Classifieds and Store as well. I didn't get this odd problem with other mods nor did I find anything useful which was related to this problem.

Anyway, I have found a workaround which did work for me an I hope it works for you guys too. It's now up to TP to find the what's and how's on this.

Explanation and temp solution here: http://www.tinyportal.net/index.php?topic=34242.msg275064#msg275064

4
Support / Re: SMF Gallery Pro and tinyportal 1.0RC1
« on: September 22, 2011, 04:09:54 am »
At this moment no solution or reply form the team in that topic. I tried to add some new categories but it looks like it's doing this at random. I have no idea what is causing this. Is it possible for you to get in touch with the TP team as well? None of this happens when using SMF 1.x.x but only when using SMF 2.x.x

I just can't get my hands on this...

[edit]
I might have some extra info on this. I'll post the info here and at TP. But I'm not sure it's related but might give us and those at TP what might be causing this.
I'll be back after doing some testing with SMF Gallery Lite and SMF Links. Will give SMF Classifieds a go as well as it uses categories too.
[/edit]

5
Support / Re: SMF Gallery Pro and tinyportal 1.0RC1
« on: July 21, 2011, 08:56:20 am »
This is the thread on tinyportal.net I started.
http://www.tinyportal.net/index.php?topic=34242.0

I hope we can get somewhere to get this fixed (keeps fingers crossed)

6
Support / Re: SMF Gallery Pro and tinyportal 1.0RC1
« on: July 18, 2011, 04:53:30 pm »
This happens with SMF Gallery Lite (latest version) and TinyPortal 1.0RC2 too. I did check all settings but were unable to find something like mentioned before. The same goes for SMF Links but when logged-off the left panel stays hidden.

There are some settings to enable panels for options such as Search and Memberlist, but I'm unable to add things like Gallery, Links and such.

I'll see if I can find some useful info on Tinyportal.net and point them to this topic. Maybe over there thet may have a clue on how to fix this.

7
SMF Gallery Lite / Re: Quick upload to SMF gallery (TP Block)
« on: July 15, 2008, 10:01:29 am »
I use this modified code to get it in good use with TinyPortal 1.0.5 Beta1. I changed the layout a bit because I didn't like the effect of class="windowbg2", so I removed these and removed the line which says 'Quick Upload'.
This way it fits better in the Deafult Theme and variantions of it.

Code: [Select]
global $scripturl, $modSettings, $db_prefix, $txt, $context, $settings, $boarddir;
// gallery.index.php is not loaded yet, so load it here
require_once($boarddir.'/Themes/default/languages/Gallery.english.php');

// text area tag var
$ta_tag = "TEXTAREA";

//Get the category
@$cat = (int) $_REQUEST['cat'];

// display the block info
echo '
<div>
<form method="POST" enctype="multipart/form-data" name="picform" id="picform" action="' . $scripturl . '?action=gallery&sa=add2">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="129">
<tr>
<td class="smalltext">Title:<br /><input type="text" name="title" size="15" /></td>
</tr>
<tr>
<td class="smalltext">Category</td>
</tr>
<tr>
<td class="smalltext"><select name="cat">';


// get our query results to create select box
$dbresult = db_query("SELECT ID_CAT, title FROM {$db_prefix}gallery_cat ORDER BY roworder ASC", __FILE__, __LINE__);
while ($row = mysql_fetch_assoc($dbresult)){
echo '
<option value="' . $row['ID_CAT']  . '" ' . (($cat == $row['ID_CAT']) ? ' selected="selected"' : '') .'>' . $row['title'] . '</option>';
}


echo '
</select>
</td>
</tr>
<tr>
<td class="smalltext">Description: </td>
</tr>
<tr>
<td class="smalltext"><'.$ta_tag.' name="description" rows="6" cols="16"></'.$ta_tag.'></td>
</tr>
<tr>
<td class="smalltext">Keywords: </td>
</tr>
<tr>
<td class="smalltext"><input type="text" name="keywords" maxlength="100" size="15" /></td>
</tr>
<tr>
<td class="smalltext">' . $txt['gallery_form_uploadpic'] . ' </td>
</tr>
<tr>
<td class="smalltext"><input type="file" size="12" name="picture" /></td>
</tr>';

if(!empty($modSettings['gallery_commentchoice'])){
echo '
<tr>
<td class="smalltext" align="left">' . $txt['gallery_form_additionaloptions'] . ' </td>
</tr>
<tr>
<td class="smalltext"><input type="checkbox" name="allowcomments" checked="checked" />Allow Comments</td>
</tr>';
}

echo '
<tr>
<td class="smalltext" width="28%" colspan="2" height="26"><input type="submit" value="Add Picture" name="submit" /></td>
</tr>
</table>
';

if(!allowedTo('smfgallery_autoapprove'))
echo $txt['gallery_form_notapproved'];

echo '
</form>
</div>';

Example here at at my website

I hope this small modification of your code-snipped is useful for others.

8
Latest Mods / Re: [Mod] Welcome Topic
« on: July 13, 2008, 05:47:35 pm »
Installed Welcome Topic on SMF 1.1.5/TP 1.05 flawless. Ony thing what might not correctly is the use of more than one welcome topic. It seems is uses the last added topic in de config. I have two, but it uses only the one on the top of the list.

It might be coincidence, but I'm not sure.

I'll await a few new members en see what happens. If I create new (fake)accounts myself, the same topic is still used (the one on top of the topiclist) but the second one isn't used while posting a welcome topic.

How come?

Pages: [1]

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal