News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Tooltipsy

Started by Polanderia, November 22, 2017, 03:35:53 AM

Previous topic - Next topic

Polanderia

Subject: [Paid] ToolTip Smf

Message/Version/Description:
I want pay for a custom mod for simple machine forum because  i  can't find no one ready for SMF 2.0.15
This mod what i looking for should "show" images when move cursor to specified words or another image in a post for explain:
https://image.ibb.co/ejqtcm/aa.png
when move mouse on image 1 then shown image 2
it will be amazing if it will be like this mod:
https://wordpress.org/plugins/bluet-keywords-tooltip-generator/
ITs free also paid free with simple options, paid  more options

Permissions: only the admin have access to the settings the mod

Thanks





Hello.
I looking for mod like "WordPress Tooltips" I cannot put link here for this mod but you can check it on google
I need it for  SMF 2.0.15 and can't find something like that so if you know some mod like this could you post here please, or if you can  make  such mod tell me the cost how much you want for it
THANKS

lurkalot


Polanderia

from the description
This mod shows nice tooltips with the first posts previews for the topic's list
and i mean tooltips in post for explain:
post some icons on post then when you move mouse on that icon it will show something like that

https://ibb.co/nu5ROR [nofollow]  (cant put the linkl.....)

Polanderia


Dzonny

Hey Polanderia,

What you're requesting can not be done unless you tell exactly what you'd like to be shown and where. It can be done by using custom tooltip scripts which should be integrated into the SMF, but we can't help you without more information.

Steve

DO NOT pm me for support!

Polanderia

Quote from: Steve on November 24, 2017, 04:14:17 PM
Guideline For Requesting Mod
looks like I cannot correct my first post, how I can put link here for explain what I looking for exactly ?

Dzonny

Quote from: Polanderia on November 27, 2017, 07:58:27 AM
Quote from: Steve on November 24, 2017, 04:14:17 PM
Guideline For Requesting Mod
looks like I cannot correct my first post, how I can put link here for explain what I looking for exactly ?
You can write here, and we'll edit your first post for ya.

Polanderia

Subject: [Paid] ToolTip Smf

Message/Version/Description:
I want pay for a custom mod for simple machine forum because  i  can't find no one ready for SMF 2.0.15
This mod what i looking for should "show" images when move cursor to specified words or another image in a post for explain:
https://image.ibb.co/ejqtcm/aa.png
when move mouse on image 1 then shown image 2
it will be amazing if it will be like this mod:
https://wordpress.org/plugins/bluet-keywords-tooltip-generator/
ITs free also paid free with simple options, paid  more options

Permissions: only the admin have access to the settings the mod

Thanks

digger

Quote from: Polanderia on November 28, 2017, 03:54:44 AM
it will be amazing if it will be like this mod:
https://wordpress.org/plugins/bluet-keywords-tooltip-generator/
https://custom.simplemachines.org/mods/index.php?mod=1525

Polanderia

Quote from: digger on November 28, 2017, 11:41:07 AM
Quote from: Polanderia on November 28, 2017, 03:54:44 AM
it will be amazing if it will be like this mod:
https://wordpress.org/plugins/bluet-keywords-tooltip-generator/
https://custom.simplemachines.org/mods/index.php?mod=1525

Thanks so much, i have one little in
./Sources/Subs-Editor.php
I need add this

'glossary' => array('code' => 'glossary', 'before' => '[glossary]', 'after' => '[/glossary]', 'description' => $txt['bbc_glossary']),

after it
'quote' => array('code' => 'quote', 'before' => '[quote]', 'after' => '[/quote]', 'description' => $txt['bbc_quote']),
but I cannot find it
'quote' => array('code' => 'quote', 'before' => '[quote]', 'after' => '[/quote]', 'description' => $txt['bbc_quote']),
can someone give me advise where i should put it ?

digger

Quote from: Polanderia on November 28, 2017, 04:18:25 PM
but I cannot find it
'quote' => array('code' => 'quote', 'before' => '[quote]', 'after' => '[/quote]', 'description' => $txt['bbc_quote']),
can someone give me advise where i should put it ?
This should be

	
	
	
array(
	
	
	
	
'image' => 'quote',
	
	
	
	
'code' => 'quote',
	
	
	
	
'before' => '[quote]',
	
	
	
	
'after' => '[/quote]',
	
	
	
	
'description' => $txt['bbc_quote']
	
	
	
),

Polanderia

Quote from: digger on November 28, 2017, 04:30:35 PM
Quote from: Polanderia on November 28, 2017, 04:18:25 PM
but I cannot find it
'quote' => array('code' => 'quote', 'before' => '[quote]', 'after' => '[/quote]', 'description' => $txt['bbc_quote']),
can someone give me advise where i should put it ?
This should be

	
	
	
array(
	
	
	
	
'image' => 'quote',
	
	
	
	
'code' => 'quote',
	
	
	
	
'before' => '[quote]',
	
	
	
	
'after' => '[/quote]',
	
	
	
	
'description' => $txt['bbc_quote']
	
	
	
),


Thank you done, now its porblem with database  my php is  7+ and and im not sure if the InstallDatabase.php is right
<?php
/*****************************************************************
* SMF GLossary              *
******************************************************************/

// OK First load the stuff
global $smcFunc$db_prefix$context$boarddir$db_name$db_passwd$db_user$db_server$modSettings$scripturl$boardurl;

$doing_manual_install false;

if (!
defined('SMF') && file_exists(dirname(__FILE__) . '/SSI.php'))
{
require_once(dirname(__FILE__) . '/SSI.php');
$doing_manual_install true;
}
elseif (!
defined('SMF'))
die('The installer wasn\'t able to connect to SMF! Make sure that you are either installing this via the Package Manager or the SSI.php file is in the same directory.');

// The whole "delete" part was copied from the SMF code. Thanks, guys!
if (isset($_GET['delete']))
{
@unlink(__FILE__);

header('Location: http://' . (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : $_SERVER['SERVER_NAME'] . ':' $_SERVER['SERVER_PORT']) . dirname($_SERVER['PHP_SELF']) . '/Themes/default/images/blank.gif');
exit;
}

if (
$doing_manual_install)
echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>SMD Glossary mod Database Installer</title>
     <link rel="stylesheet" type="text/css" href="Themes/default/style.css" />
</head>
<body>
<br /><br />'
;


// Start it!
// First load the SMF 2's Extra DB Functions
db_extend('packages');
db_extend('extra');

// Get the table list
$tables = array();
$tmp $smcFunc['db_list_tables']();
foreach ($tmp as $t)
if (substr($db_prefix,0,strlen($db_name) + 3) != '`'.$db_name.'`.')
$tables[] = $t;
else
$tables[] = '`'.$db_name '`.'.$t;

// Create the tables
$smcFunc['db_create_table'](
'glossary',
array(
array('name' => 'id','type' => 'INT','size' => '12','default' => 0,'null' => false,'auto' => true),
array('name' => 'word','type' => 'VARCHAR','size' => '50','default' => 0,'null' => false),
array('name' => 'definition','type' => 'TEXT','null' => false),
array('name' => 'member_id','type' => 'INT','size' => '13','default' => 0,'null' => false),
array('name' => 'date','type' => 'VARCHAR','size' => '30','default' => 0,'null' => false),
array('name' => 'valid','type' => 'INT','size' => '1','default' => 0,'null' => false),
array('name' => 'synonyms','type' => 'TEXT','null' => false),
array('name' => 'show_in_message','type' => 'INT','size' => '1','default' => 0,'null' => false),
array('name' => 'group_id','type' => 'INT','size' => '8','default' => 0,'null' => false),
),
array(
array(
'type' => 'primary',
'columns' => array('id')
)
),
array(),
'ignore'
);

$created_tables[] = 'glossary';

// The mgallery_files table
$smcFunc['db_create_table'](
'glossary_groups',
array(
array('name' => 'id','type' => 'INT','size' => '12','default' => 0,'null' => false,'auto' => true),
array('name' => 'title','type' => 'VARCHAR','size' => '50','default' => 0,'null' => false),
),
array(
array(
'type' => 'primary',
'columns' => array('id')
)
),
array(),
'ignore'
);
$created_tables[] = 'glossary_groups';


//New settings
$addFields = array();
if ( 
$smcFunc['db_add_column']('glossary', array('name' => 'show_in_message''type' => 'INT','size' => '1''default' => '0''null' => false)) )
array_push($addFields,'show_in_message');
if ( 
$smcFunc['db_add_column']('glossary', array('name' => 'group_id''type' => 'INT','size' => '8''default' => '0''null' => false)) )
array_push($addFields,'group_id');

//ALter one field name
$changeFields = array();
if ( 
$smcFunc['db_change_column']('glossary''identical_to', array('name' => 'synonyms')) )
array_push($changeFields,'"identical_to" renamed to "synonyms"');


// OK, time to report, output all the stuff to be shown to the user
echo '
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="550" align="center"><tr><td>
<div class="titlebg" style="padding: 1ex">
SMF Glossary mod Database Installer
</div>
<div class="windowbg2" style="padding: 2ex">'
;

// Tell them what has been done
echo '<b>Creating / Updating Tables</b>
<br /><br />
<ul class="normallist">'
;
foreach (
$created_tables as $table_name)
if (in_array($table_name$tables))
echo '
<li>Table <i>'
.preg_replace('/`[^`]+`\./'''$table_name).'</i> already exists.</li>';
else
echo '
<li>'
.$table_name.' table created.</li>';

echo 
'
</ul>'
;
if ( 
count($addFields) > ){
echo '
<br /><br />
<b>Fields added :</b>
<ul class="normallist">'
;
foreach($addFields as $field)
echo '<li>'.$field.'</li>';
echo '
</ul>'
;
}
if ( 
count($changeFields) > ){
echo '
<br /><br />
<b>Fields changed :</b>
<ul class="normallist">'
;
foreach($changeFields as $field)
echo '<li>'.$field.'</li>';
echo '
</ul>'
;
}
echo 
'
<br /><br /><b>Thank you for trying out SMF Glossary mod!</b>
</div>
</td></tr></table>
<br />'
;

if (
$doing_manual_install)
echo '
</body></html>'
;

?>



Table 'smf.smf_glossary_groups' doesn't exist

it should be done when install the plugin right ?

Illori

you are using the package manager to install the mod right? it should handle creating the database table(s) for you.

Polanderia

Quote from: Illori on November 29, 2017, 05:12:35 AM
you are using the package manager to install the mod right? it should handle creating the database table(s) for you.
sub.php and subs-edit.php added manualy then delete it from install.xml then zip again  send to server then install via package manager everything was alright no one error nothing a tool  just  the database havent executed

Polanderia

Finally sort out problem with DB  the package installer created "glossary" "glossary_groups" i just add before "smf_glos itp now I have diff  problem with this mod when I go to the "glossary" on menu bar it say "Glossary is actually not enabled!" and cant find any option in admin panel about it.
Second thing is editor post,  look at the pic:
https://image.ibb.co/bBRVQG/Untitled.png

Polanderia

so can someone tell how to enable this glossaty ?

Advertisement: