←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
astroo-_vjoined #tikiwiki [00:27]
fabriciuspolom
PenguinMan98: an interesting idea
PenguinMan98: and interesting problem
[00:41]
astroo-hello [00:43]
PenguinMan98I'm glad you agree
It seems like enabling that feature would automatically put that link somewhere
sup astroo
[00:55]
astroo-hello yes and you? [01:00]
PenguinMan98fantastic. [01:05]
Tiki|botNew Forum Posts: Exciting times ahead with WebRTC (audio/video/data) - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47746 [01:08]
h2mster|afkjoined #tikiwiki [01:13]
fabriciusPenguinMan98: maybe some different smarty necessary? [01:22]
PenguinMan98You tell me. I haven't really cracked open any of Tiki's code except for the tiki-login.php
can you even use smarty in the url like that?
[01:22]
fabriciusI do not think so .. let me think about that for some moments [01:24]
PenguinMan98yeah, http://screencast.com/t/gBaP0WpOtFy
didn't work
[01:24]
luciashPenguinMan98: so you have the arg variables enabled ? [01:28]
PenguinMan98should be
I turned em on today
[01:29]
luciashPenguinMan98: and also Admin > General > Navigation > Allow HTML in menu option names and URLs ? [01:30]
PenguinMan98hmm, let me check on that
erm...
[01:30]
luciashPenguinMan98: and yes, you can REALLY allow THAT, unless you give admin permissions to edit the menu to someone you do not trust [01:32]
PenguinMan98http://screencast.com/t/mlttAfik
ok
I'll REALLY allow that
[01:32]
luciashluciash knew that question will come next [01:33]
PenguinMan98heh [01:33]
luciashnow lets see if the {{user}} is stil being escaped
*still
i recommend to use only User:{{user}} if you have SEFURLs enabled site
without wiki link syntax
[01:33]
PenguinMan98still escaped [01:36]
luciashPenguinMan98: btw, if it is just single item menu it really makes no sense to put it as a menu but you could do that directly in custom module using smarty syntax
as i read more carefully now what you did
[01:36]
PenguinMan98thanks. I'll try that [01:37]
luciashPenguinMan98: so you can scratch that idea, remove that menu and just put this into your custom module: <a href="User:{$user}">My Page</a> [01:38]
fabriciusah yes .. that [01:39]
PenguinMan98kk. In trying to delete that menu, I deleted my main left hand menu
PenguinMan98 headdesks
[01:39]
fabriciusouch [01:40]
PenguinMan98dammit [01:40]
luciashoh man :) hope you have some recent backup [01:40]
PenguinMan98not of the database [01:41]
fabriciusluciash PenguinMan98 .. I recon he means the main application menu [01:41]
PenguinMan98anyone know the id of the main application menu? [01:42]
luciashnope, i think he means his custom left hand menu ;) [01:42]
PenguinMan98default [01:42]
fabriciusand I recon, he just deleted the module [01:42]
PenguinMan98I did both [01:42]
fabriciusarrrghhh [01:42]
luciashah, you just unassigned the module of app menu ? easy to put it back then [01:42]
fabriciusdeleted both??? [01:42]
PenguinMan98kk [01:42]
luciashmain menu is 42
default application menu
[01:43]
fabriciusmodule: "menu" -> param menuId=42 [01:43]
PenguinMan98I deleted both modules. The menus are still there
42
gooood number
[01:43]
fabriciusyesss [01:43]
luciashyep, just do not delete the menus please ;) [01:43]
fabriciusespeciaslly not this one [01:43]
luciashmodules can be easily assigned back
you lost just some params if you had them there
[01:43]
PenguinMan98yay, my menu is back [01:43]
fabriciusis it possible to delete 42? I do not think so [01:44]
luciash(it is not possible to delete app menu actually)
fabricius: not anymore, right
[01:44]
PenguinMan98I eventually intend to hide it after I get my own navigation working [01:44]
luciashin some older versions it was possible [01:44]
PenguinMan98I hadn't modified it so I'm good [01:45]
luciashPenguinMan98: btw, did you know you can design your own menu in a wiki page and use that wiki page as your menu using the page menu module ?
PenguinMan98: it is not even possible to modify it ;)
PenguinMan98: menu 42
[01:45]
PenguinMan98I know. I wanted to but it told me I needed to clone it first
I decided to put that off for later
smart features
@luciash pagemenu sounds awesome! I'll look into that
[01:46]
luciashso hopefully now you are back on track :) [01:47]
PenguinMan98yes
thanks
[01:47]
luciashsee the docs, use force
bbl :)
[01:48]
PenguinMan98link doesn't work
PenguinMan98 chuckles
[01:52]
luciashwiki syntax must be off if you use HTML and smarty syntax in custom module [01:53]
PenguinMan98((User:{$user}))
that worked for the link after I turned the wiki parsing on for the module
thanks for the tip
So if I wanted to do a custom php, I just do that in a plugin?
And then use that plugin in a custom module
What if I wanted to access the db in a plugin? Is there already hookups for that? Or do I need to add a connection string to the plugin?
Maybe I'll take a few modules apart and see what's inside
I gotta go
See you guys later on
thanks again!
[01:58]
redfloleft #tikiwiki [02:04]
......... (idle for 42mn)
kstingeljoined #tikiwiki
polom
I'm trying to set up some trackers, but initial data is in a seperate SQL DB ...
[02:46]
astroo-hello [02:48]
kstingelwhen adding the individual internal trackers, is "item_id" consecutive accross all trackers, or can each tracker commence numbering from "1"? [02:49]
fabriciushi kstingel afaik consecutive [02:54]
kstingelthanks fabricius, np ... I can add the consec ids to original DB once I've set data [02:55]
....... (idle for 31mn)
goj_killedByISPjoined #tikiwiki [03:26]
arildb_joined #tikiwiki [03:31]
luciashkstingel: i think you can choose if it should be auto-assigned by item id or start at defined value [03:40]
kstingelluciash: I vaguely recall an option to keep original item IDs, but wasn't sure how that worked
will tinker a bit once I finish compiling src data and figure out best option ...
may be easier to just use customised SQL queries to interact with data
[03:41]
arildb__joined #tikiwiki [03:48]
arildbjoined #tikiwiki [03:53]
arildb_joined #tikiwiki [03:57]
...... (idle for 28mn)
astroo-_vjoined #tikiwiki [04:25]
astroo-_v_sjoined #tikiwiki [04:27]
.......... (idle for 47mn)
PenguinMan98joined #tikiwiki
Back
[05:14]
ok. So I ran into an issue today
I had a module that showed the most visited forum posts
It let my registered users see guide-only material
lucky this wasn't a huge problem this time.
maybe I configured the module wrong?
If I don't set the category on the module, it should honor the category of the material it's asking for right?
On a totally unrelated note, does tikiwiki support content tagging?
I realize I could mimic this with categories but it'd be clunky
[05:19]
arildbjoined #tikiwiki [05:34]
arildb__joined #tikiwiki [05:36]
arildbjoined #tikiwiki [05:42]
PenguinMan98PenguinMan98 flicks the switch on and off on arildb's router
*trollface*
[05:50]
....... (idle for 31mn)
chibaguyjoined #tikiwiki
polom
Happy to be here and hoping to be more in touch. New pc should make it easier. :-)
[06:21]
..... (idle for 24mn)
PenguinMan98woot
I had a module that showed the most visited forum posts
It let my registered users see material that I'd restricted with a permissions category
maybe I configured the module wrong?
If I don't set the category on the module, it should honor the category of the material it's asking for right?
I know the most recent forum posts module works this way
[06:48]
..... (idle for 20mn)
chibaguyhi PenguinMan98 - [07:13]
PenguinMan98sup chibaguy [07:14]
chibaguySorry I can't help much on that. ;-)
The module should respect the forum perms, I'd expect.
What Tiki version are you using?
[07:14]
If it's a version that's actively being worked on (9LTS or 11), then you could make a bug report at dev.tiki.org. [07:21]
PenguinMan9810
right in between
Here's a question,
Say I wanted a module for the most recent forum threads posted in.
Do you think I should go ahead and create my own in the tikilib.php?
Or is it wiser to stay out of the core and add it perhaps as a plugin?
[07:22]
chibaguyHmm, good question. Maybe you could post that on the dev mailing list. (I'm a font of information here. ;-) ) [07:25]
PenguinMan98fount* [07:25]
chibaguyheh [07:28]
PenguinMan98hehe
And say I did add it as a module, you all would desire that I push said module to the repo?
I know I have such little experience in the code base compared to you all but it seems to me from what I've seen so far that the forums are not quite added in the same manner as the other features
[07:28]
I just want to make sure my changes don't blow things up for future upgrades [07:38]
Tiki|botNew Forum Posts: Error configuration - Redirect to myself - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=47750 [07:42]
arildbjoined #tikiwiki [07:44]
joined #tikiwiki [07:51]
chibaguyPenguinMan98, normally new features etc are added in svn trunk for testing and then ported to the branch that'll be the next release (so trunk and then tiki 11). It'd be best to ask on the dev list about adding the module, I'd say. And thanks for taking the initiative on that.
(if you want to do it)
[07:59]
PenguinMan98PenguinMan98 shrugs
As long as I'm doing the coding, I may as well share
[07:59]
chibaguyYes, that'd be nice. [08:00]
PenguinMan98As it says on the doc.tiki, no two sites have the same needs and indeed it seems that the one or two things I really want are two it just doesn't do out of the box [08:00]
chibaguyAbout the module, if an existing module could be given another parameter to show what you want it to show, that'd be a good route to go, rather than making a new module from scratch. [08:02]
PenguinMan98I can't believe there is a module for most viewed forum topics and one for most recent forum posts, but not one for most recent forum topics posted in. [08:03]
chibaguyI don't know about the code, though, and what'd be the best way.
Yeah, that seems like an obvious thing to be able to show.
[08:03]
PenguinMan98And the one for most viewed forum topics seems to have issues displaying the wrong content. That or my site was configured wrong. [08:03]
chibaguyhmm, well, some things haven't seen much love for a while, so could be acting strange. [08:04]
PenguinMan98I created a category that restricts viewing a certain forum topic. However I don't think the forum post in that forum was tagged with the same category the forum topic itself was
I'm not sure if this could be the issue. I assumed if you post in a restricted forum, then it inherits that restriction
[08:05]
chibaguyThat'd be logical. [08:09]
fabriciusjoined #tikiwiki [08:13]
PenguinMan98I find that logic very much 'usually' applies around here
hehe
[08:19]
chibaguy:-) [08:28]
........... (idle for 54mn)
EmenemsAllo allo. Is there someone here that could give me information about cartograf ? I don't understand how to create a map. Is it linked to trackers ? [09:22]
.... (idle for 17mn)
Jyhem_, salut :) [09:39]
....... (idle for 31mn)
Jyhem_Emenems: not much time (on the ove). What is it you want to do? Reproduce the cartograf website or just understand how maps are used?
s/on the ove/on the move/
[10:10]
EmenemsJyhem_, both :) firt, understand the architecture behind cartograpf, and how to create a map [10:11]
Jyhem_I think that's the wrong way around :-)
Cartograf is so much more complicated and customized than "how to create a map"
[10:15]
Emenemsok, any suggestion to better understand the cartograf project ? [10:17]
Jyhem_To create a map, you put the MAPS plugin in a page. Then the plugin will magically look for geotagged links in the middle column of the page
So you need to put some there with some other plugin which lists geotagged objects (like articles)
or like the user in the bottom of the page ("last mofied by user").
Then you get more control with the ''scope'' param
so it only shows what you want
[10:18]
EmenemsJyhem_, if i'm not wrong, trackers are also geotagged items, aren't they ? [10:21]
Jyhem_they can when you give them a geolocate field, yes [10:22]
Emenemsok ok ... merci :) i'll take a look deeper in the documentation and i'll try [10:24]
..... (idle for 22mn)
chibaguyjoined #tikiwiki [10:46]
Jyhem_Emenems: you might experiment on demo.tiki.org and come back with concrete questions :-) [10:50]
............... (idle for 1h11mn)
redflojoined #tikiwiki [12:01]
fabriciusjoined #tikiwiki [12:06]
.................. (idle for 1h26mn)
chibaguyjoined #tikiwiki [13:32]
rodrigoprimojoined #tikiwiki [13:35]
chibaguyjoined #tikiwiki [13:47]
Tiki-KGBtikiwiki 03lphuberdeau r46454 10(7 files in 5 dirs)
tikiwiki [MRG] Automatic merge, branches/11.x 46417 to 46447
[13:54]
dabrightjoined #tikiwiki [13:55]
arildbjoined #tikiwiki [14:08]
Tiki-KGBtikiwiki 03arildb r46455 10trunk/lib/userslib.php
tikiwiki [FIX] Delete user's structure routes, when the user is deleted
[14:12]
chibaguyjoined #tikiwiki [14:23]
rinnan1joined #tikiwiki [14:37]
.......... (idle for 47mn)
nkoth|nelsonjoined #tikiwiki
joined #tikiwiki
[15:24]
dhazeljoined #tikiwiki [15:33]
Tiki-KGBtikiwiki 03lphuberdeau r46456 10trunk/installer/installlib.php
tikiwiki [MOD] Allow to use an alternate database dump for clean installations
[15:34]
lphuberdeaujoined #tikiwiki [15:42]
....... (idle for 34mn)
Sp4rKyjoined #tikiwiki [16:16]
chibaguyjoined #tikiwiki [16:29]
Sp4rKyjoined #tikiwiki [16:35]
changijoined #tikiwiki [16:49]
fabriciusjoined #tikiwiki [16:50]
Tiki-KGBtikiwiki 03lphuberdeau r46457 10trunk/ 03db/install.ini.dist 10installer/installlib.php
tikiwiki [MOD] Use a .ini file to configure the dump to load
[16:54]
dabrightjoined #tikiwiki [16:57]
...... (idle for 28mn)
luciashpolom [17:25]
chibaguyjoined #tikiwiki [17:31]
.... (idle for 19mn)
Tiki|Logjoined #tikiwiki [17:50]
Topicfor #tikiwikiis now Tiki Wiki CMS Groupware - The Free and Open Source Web Application with the most built-in features - Tiki 10.2, 9.4 LTS and 6.10 LTS are out! Question? Just ask. We log the channel @ http://irc.tiki.org (start line with [off] to exclude message from log) [17:50]
dabright1joined #tikiwiki [17:53]
dabrightjoined #tikiwiki [18:02]
arildbjoined #tikiwiki [18:08]
Telesightjoined #tikiwiki [18:12]
dabrightjoined #tikiwiki [18:14]
dabright1joined #tikiwiki [18:18]
sipherdeejoined #tikiwiki [18:22]
zakijoined #tikiwiki [18:22]
arildbjoined #tikiwiki [18:22]
PenguinMan98joined #tikiwiki [18:23]
dabrightjoined #tikiwiki [18:26]
lphuberdeaujoined #tikiwiki [18:28]
dabrightjoined #tikiwiki [18:31]
joined #tikiwiki [18:38]
arildbjoined #tikiwiki [18:43]
PenguinMan98So, I finally found the docs that tell me the correct way to add modules
I started work on my first custom module. I got it all set up the way I thought it should have been but it seems the template file in templates/modules is loading without calling the php function file in (modules/)
so it's trying to load without data
unfortunately I won't have access to those files again until tonight
[18:47]
dabrightjoined #tikiwiki [18:50]
joined #tikiwiki [19:01]
Tiki-KGBtikiwiki 03lphuberdeau r46458 10trunk/lib/core/ 10(19 files in 3 dirs)
tikiwiki [MOD] Allow tracker fields to declare available facets
[19:08]
dabrightjoined #tikiwiki [19:09]
Tiki|botNew Forum Posts: Error configuration - Redirect to myself - https://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=47750
New Forum Posts: Exciting times ahead with WebRTC (audio/video/data) - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47746
New Forum Posts: tracker autoresponder tpl - https://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47745
[19:13]
changi_joined #tikiwiki [19:15]
Tiki|botNew Forum Posts: Error configuration - Redirect to myself - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=47750
New Forum Posts: Exciting times ahead with WebRTC (audio/video/data) - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47746
New Forum Posts: tracker autoresponder tpl - http://tiki.org/tiki-view_forum_thread.php?forumId=26&comments_parentId=47745
[19:23]
arildb_joined #tikiwiki [19:25]
dabrightjoined #tikiwiki [19:27]
PenguinMan98Hey guys,
back on the question of custom user pages...
[19:30]
dabright1joined #tikiwiki [19:31]
PenguinMan98It does something really weird when you try to edit it
http://screencast.com/t/LnYnoSYghegr
Fixed it by changing ((User:{$user}|{$user}))
to [/tiki-editpage.php?page=User:{$user}|{$user}'s page]
[19:31]
luciashPenguinMan98: why you did not use the <a href="User:{$user}">User's page</a> ?
saves some parsing time
[19:39]
PenguinMan98because it didn't work [19:39]
luciashit must work [19:40]
PenguinMan98I musta done something wrong yesterday then cuz it works today [19:40]
luciashit should just tell you the page does not exist if it does not and ask if you want to create it
in worst case
yep
might be
[19:41]
dabrightjoined #tikiwiki [19:41]
redflojoined #tikiwiki [19:42]
PenguinMan98Nope, still doesn't work [19:42]
Bsfezjoined #tikiwiki [19:43]
PenguinMan98It makes a pretty looking link but when you click on it, nothing happens [19:43]
dabright1joined #tikiwiki [19:45]
arildbjoined #tikiwiki [19:45]
dabrightjoined #tikiwiki [19:48]
luciashPenguinMan98: nothing ? [19:50]
PenguinMan98nothing [19:50]
luciashah, i see, it is because of the :
it thinks User: is a protocol simmilar to http:
you need to put ./ in front of it
PenguinMan98: why you did not use the <a href="./User:{$user}">User's page</a> ?
like thsi
*this
PenguinMan98: <a href="./User:{$user}">User's page</a>
s/it/browser/
[19:51]
dabright1joined #tikiwiki [19:52]
luciashin "it thinks" ;) [19:52]
PenguinMan98...
Now I don't have permission to access it?
PenguinMan98 headdesks over the silliness of a single link
[19:53]
luciashdid you put "./" or "/" ?
the dot is mandatory
[19:53]
PenguinMan98[/tiki-index.php?page=User:{$user}|{$user}'s page] Works. If you click on it and the page isn't there, it asks you to create it
I copied your example exactly
[19:54]
luciashok, maybe you do not have .htaccess enabled site for SEFURLs
that is why you need to put the tiki-index.php?... there
[19:55]
PenguinMan98PenguinMan98 shrugs. Alls I know is: this works
It's the syntax used to link to forums / etc
[19:56]
arildbPenguinMan98: You can check if SEFURL is activated in the admin panel: tiki-admin.php?page=sefurl [19:58]
PenguinMan98what is a SEFURL? [19:58]
arildbSearch Engine Frriendly URLs, which enables you to use the url: "MyPage"m, instead of "tiki-index.php?page=MyPage" [19:59]
dabrightjoined #tikiwiki [19:59]
PenguinMan98brilliant! [19:59]
Bsfezjoined #tikiwiki
Hello Lu, all
[20:00]
PenguinMan98yo [20:01]
dabright1joined #tikiwiki [20:04]
dabrightjoined #tikiwiki [20:07]
luciashhey Bsfez [20:09]
dabright1joined #tikiwiki [20:09]
arildbjoined #tikiwiki [20:15]
dabrightjoined #tikiwiki [20:18]
joined #tikiwiki [20:26]
joined #tikiwiki [20:40]
PenguinMan98even the link I'm using fails if the username has a space in it
Who even wrote this thing?
How were they intending the feature be accessed?
[20:41]
dabright1joined #tikiwiki [20:44]
PenguinMan98gonna try this: [/tiki-index.php?page=User:{$user|replace:' ':''}|{$user}'s page] [20:46]
dabrightjoined #tikiwiki [20:47]
PenguinMan98aaaaand that makes the module explode [20:48]
joined #tikiwiki
PenguinMan98 kicks his router
[20:55]
arildbjoined #tikiwiki [21:04]
rinnan1left #tikiwiki [21:07]
rinnanjoined #tikiwiki [21:20]
..... (idle for 24mn)
Tiki-KGBtikiwiki 03lphuberdeau r46460 10trunk/lib/ 10test/core/Search/Elastic/TypeAnalyzerTest.php 10test/bootstrap.php 10core/TikiDb/Initializer.php
tikiwiki [FIX] Test suite, PHP 5.5 compatibility
[21:44]
dhazeljoined #tikiwiki [21:56]
lphuberdeaujoined #tikiwiki
joined #tikiwiki
joined #tikiwiki
[22:05]
astroo-joined #tikiwiki
hello people
[22:10]
dabrightjoined #tikiwiki [22:18]
arildbjoined #tikiwiki [22:27]
rinnanHowdy [22:35]
astroo-hello [22:37]
rinnanDoes anyone know if there is a way to script renaming of users? We are moving to a new domain and I need to rename most users from <user>@old_domain to <user>@new_domain. I am able to do this manually using the Admin - Users - Adit Account Settings menu but I would love to be able to automate this procedure to enable a swift (and hopefully error free) migration. Any pointers would be most appreciated :)
We're using LDAP for user authentication, hence the need to rename to keep user history
[22:38]
PenguinMan98Well..I'm pretty new around here but I'll take a stab
You could create a custom module to do this. load it anywhere and turn off all the display elements so it just quietly runs.
$query = "somequery to rename stuff"
$tikilib->query($query)
when you don't need it anymore, you just remove the module
[22:42]
rinnanPenguinMan98: Thanks, I'll look into that approach. Just need to figure out the query itself. I'll dive into the code once I get som time on my hands [22:47]
arildbrinnan: beware of the many references by name (username in this case). [22:48]
PenguinMan98SHould be the email field in the users_users table right? [22:48]
rinnanarildb: I know, thats why I'm reluctant to take any chances [22:48]
arildbrinnan: see userslib.php function change_login. Maybe it does what you want (for 1 user) [22:49]
rinnanarilldb: It seemed to do the job properly when executed via that adminmenu
havent gotten around to examining exactly what that menu executes yet
[22:50]
arildbrinnan: You could create your own PHP script to load all affected users and calling change_login [22:51]
PenguinMan98and put it in a custom module? [22:52]
arildba regular PHP script should do
place the script in the tiki root, and include require_once ('tiki-setup.php');
at the top. Then you should have access to tiki functionality
[22:52]
PenguinMan98global $tikilib; [22:54]
arildbyes, you may have to create instances of diffent libs
use TikiLib::lib('tiki'); instead of global $tikilib
[22:55]
rinnanexcellent suggestion
will try it
[22:57]
Tiki-KGBtikiwiki 03arildb r46461 10trunk/tiki-mailin-code.php
tikiwiki [NEW] Add logging to mail-in module
[23:12]
......... (idle for 44mn)
tikiwiki 03arildb r46462 10trunk/lib/logs/logslib.php
tikiwiki [SEC] Always use parameters in queries to prevent XSS
tikiwiki 03arildb r46463 10branches/11.x/lib/logs/logslib.php
tikiwiki [bp/r46462][SEC] Always use parameters in queries to prevent XSS
tikiwiki 03arildb r46464 10branches/9.x/lib/logs/logslib.php
tikiwiki [bp/r46462][SEC] Always use parameters in queries to prevent XSS
[23:56]
rinnanleft #tikiwiki [23:59]

←Prev date Next date→ Show only urls(Click on time to select a line by its url)